OperationLayoutCollectionAddArcCenterOffsetXY Method

Add an arc to the operation layout, given the center, the start point, and the approximate end point.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
C#
public static FVector2 AddArcCenterOffsetXY(
	PatternOperationItem operation,
	FVector2 center,
	FVector2 startOffset,
	FVector2 endOffset,
	WindingOrientationEnum winding,
	FVector2 location
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
center  FVector2
Reference to the center offset.
startOffset  FVector2
Reference to the starting offset at which the arc will be drawn.
endOffset  FVector2
Reference to the approximate ending offset at which the arc will be drawn. The actual ending offset will be calculated by the angle of the provided ending offset, using the radius as a line distance.
winding  WindingOrientationEnum
The winding direction to use for the arc sweep. Choices are clockwise and counterclockwise.
location  FVector2
Reference to the last known traveling tool location.

Return Value

FVector2
Reference to the updated last known tool location, if found. Otherwise, an empty coordinate.

See Also