ArcGISSegment

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

PropertyTypeNullableReadonlySummary
No
Yes

The end point of the segment.

No
Yes

Indicates is a segment is closed, it has a matching start and end point.

No
Yes

False if the object is an ArcGISLineSegment; true otherwise.

Yes
Yes

The spatial reference for the segment.

No
Yes

The start point of the segment.

EndPoint

ArcGISPoint EndPoint

The end point of the segment.

IsClosed

bool IsClosed

Indicates is a segment is closed, it has a matching start and end point.

IsCurve

bool IsCurve

False if the object is an ArcGISLineSegment; true otherwise.

Prior to v100.12, only ArcGISLineSegment instances were supported when creating new geometries using a ArcGISMultipartBuilder or iterating the ArcGISSegment instances in an existing ArcGISMultipart geometry.

From v100.12, 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.

StartPoint

ArcGISPoint StartPoint

The start point of the segment.

Methods

SignatureReturn TypeSummary

Equals(ArcGISSegment)

bool

Tests if this object is equal to a second ArcGISSegment object.

Equals

bool Equals(ArcGISSegment right)

Tests if this object is equal to a second ArcGISSegment object.

Since 1.0.0

Arguments
NameTypeSummary
right

The second segment to compare for equality.

Returns bool

True if the comparison succeeds and the objects are equal, false otherwise.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.