Click or drag to resize

LineSegmentCreateLineAtAngleFromStartPoint Method

Creates a line segment of the specified length and angle from a given start point.

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
public static LineSegment CreateLineAtAngleFromStartPoint(
	MapPoint startPoint,
	double angleRadians,
	double length


Type: Esri.ArcGISRuntime.GeometryMapPoint
The start point of the line segment
Type: SystemDouble
The angle of the line relative to the X axis. Units are radians.
Type: SystemDouble
The length of the line

Return Value

Type: LineSegment
The new LineSegment
Use this method to create a line segment. The represents a straight line between two points. the spatial reference of the point is used to determine the segment's spatial reference. The angle is specified in radians relative to the X axis. The length is in the units of the spatial reference.
See Also