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.2429.4649
C#
public static FPoint AddArcCenterOffsetXY(
	PatternOperationItem operation,
	FPoint center,
	FPoint startOffset,
	FPoint endOffset,
	WindingOrientationEnum winding,
	FPoint location
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
center  FPoint
Reference to the center offset.
startOffset  FPoint
Reference to the starting offset at which the arc will be drawn.
endOffset  FPoint
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  FPoint
Reference to the last known traveling tool location.

Return Value

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

See Also