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

True if the segment is an ArcGISCubicBezierSegment or ArcGISEllipticArcSegment, false 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

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.

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.