Line Segment
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.
Since
200.1.0
Parameters
The X coordinate of start point.
The Y coordinate of start point.
The Z coordinate of start point.
The X coordinate of end point.
The Y coordinate of end point.
The Z coordinate of end point.
A spatial reference.
Creates a line segment based on coordinates. Use this method to create a line segment representing a straight line between two points.
Since
200.1.0
Parameters
The X coordinate of start point.
The Y coordinate of start point.
The X coordinate of end point.
The Y coordinate of end point.
A spatial reference.
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.
Since
200.1.0
Parameters
The start point.
The end point.
A spatial reference.