Line Segment
A line segment represents a straight line from its start to end point. It is derived from a segment object.
Since
200.1.0
Constructors
Creates a line segment based on 3D coordinates and a spatial reference. Use this method to create a line segment representing a straight line between two points.
Creates a line segment based on coordinates. Use this method to create a line segment representing a straight line between two points.
Creates a line segment based on two points and a spatial reference. Use this method to create a line segment representing a straight line between two points. The spatial reference parameter is used if the points have a null spatial reference. If more than one spatial reference is supplied (as a parameter or as a property of a Point parameter), they must all be equal.
Inherited properties
False if the object is a LineSegment; true otherwise. Prior to v100.12, only LineSegment instances were supported when creating new geometries using a MultipartBuilder or iterating the Segment instances in an existing Multipart geometry.
The spatial reference for the segment. If the segment does not have a spatial reference null is returned.
The start point of the segment.