TrigGetPathOrientation(ListFPoint, DrawingSpaceEnum) Method

Return the direction of point progression within the shape, in terms of clockwise or counterclockwise rotation.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static WindingOrientationEnum GetPathOrientation(
	List<FPoint> path,
	DrawingSpaceEnum drawingSpace = DrawingSpaceEnum.Display
)

Parameters

path  ListFPoint
Reference to the collection of points for which a winding orientation will be found.
drawingSpace  DrawingSpaceEnum  (Optional)
The drawing space for which the results are being prepared. Default = Display.

Return Value

WindingOrientationEnum
Path orientation of the shape, relative to the angular progression of a natural arc.

Remarks

Zero points or a single point in the collection will result in an orientation of None.

See Also