Class GeometryFactory
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Inheritance
System.Object
GeometryFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Environments.Cartesian
Assembly: Mars.Components.dll
Syntax
public static class GeometryFactory
Methods
| Improve this Doc View SourceCreateBox(TrapezoidExploration)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static Polygon CreateBox(TrapezoidExploration blockExploration)
Parameters
Type | Name | Description |
---|---|---|
TrapezoidExploration | blockExploration |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Polygon |
CreateCone(ConeExplorationView)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static Polygon CreateCone(ConeExplorationView coneExplorationView)
Parameters
Type | Name | Description |
---|---|---|
ConeExplorationView | coneExplorationView |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Polygon |
CreateRay(ExplorationView)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static LineString CreateRay(ExplorationView rayExploration)
Parameters
Type | Name | Description |
---|---|---|
ExplorationView | rayExploration |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.LineString |
GetBoundaryGeometry(Geometry)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static Geometry GetBoundaryGeometry(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Geometry | geometry |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Geometry |
RotateGeometry(Double, Geometry, Point)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static Geometry RotateGeometry(double angle, Geometry geometry, Point centroid)
Parameters
Type | Name | Description |
---|---|---|
System.Double | angle | |
NetTopologySuite.Geometries.Geometry | geometry | |
NetTopologySuite.Geometries.Point | centroid |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Geometry |
TranslateGeometry(Geometry, Double, Double)
This factory class provides some helper functions
to construct geometries from ExplorationViews.
Declaration
public static Geometry TranslateGeometry(Geometry geometry, double bearing, double distance)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Geometry | geometry | |
System.Double | bearing | |
System.Double | distance |
Returns
Type | Description |
---|---|
NetTopologySuite.Geometries.Geometry |