Namespace: GameEngine.Geometry
Class: GameEngine/Geometry/ArcGISSegment
Since: 1.0.0
Summary
A segment represents an edge of a multipart geometry, connecting a start to an end point.
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
EndPoint | ArcGISPoint | No | Yes | The end point of the segment. |
IsClosed | bool | No | Yes | Indicates is a segment is closed, it has a matching start and end point. |
IsCurve | bool | No | Yes | True if the segment is an ArcGISCubicBezierSegment or ArcGISEllipticArcSegment, false otherwise. |
SpatialReference | ArcGISSpatialReference | Yes | Yes | The spatial reference for the segment. |
StartPoint | ArcGISPoint | No | Yes | The start point of the segment. |
IsCurve
bool IsCurve
True if the segment is an ArcGISCubicBezierSegment or ArcGISEllipticArcSegment, false otherwise.
You can add curve segments (ArcGISCubicBezierSegment, ArcGISEllipticArcSegment) when using a ArcGISMultipartBuilder, and get them back from an existing ArcGISMultipart geometry when ArcGISGeometry.HasCurves is true.
SpatialReference
ArcGISSpatialReference SpatialReference
The spatial reference for the segment.
If the segment does not have a spatial reference null is returned.