TrigGetPathOrientation(ListFVector2, 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.2711.4719
C#
public static WindingOrientationEnum GetPathOrientation(
	List<FVector2> path,
	DrawingSpaceEnum drawingSpace = DrawingSpaceEnum.Display
)

Parameters

path  ListFVector2
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