OperationLayoutCollectionAddArcCenterRadiusStartSweepAngle Method

Add an arc to the layout given its center coordinate, radius, start angle and sweep angle.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static FPoint AddArcCenterRadiusStartSweepAngle(
	PatternOperationItem operation,
	FPoint center,
	float radius,
	float startAngle,
	float sweepAngle,
	FPoint location
)

Parameters

operation  PatternOperationItem
Reference to the operation for which the layout is being prepared.
center  FPoint
Reference to the center offset.
radius  Single
The radius of the circle upon which the arc is based.
startAngle  Single
The clockwise start angle of the arc, in radians.
sweepAngle  Single
The sweep angle of the arc, in radians.
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