Click or drag to resize

IObjectsAddArcOfCircleFromStartEndRadius Method

Adds an arc of a circle from startPoint to endPoint with specified radius. The orientation of the arc depends on the value of positiveAngle. If positiveAngle is true, the angle will be positive in right-handed coordinate system. The distance between startPoint and endPoint must be greater than precision. The arc name is "ArcOfCircle".

Namespace:  EMInvent.InventSim.COMServer
Assembly:  InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntax
ISimObject AddArcOfCircleFromStartEndRadius(
	string name,
	string startPoint,
	string endPoint,
	string radius,
	bool positiveAngle
)

Parameters

name
Type: SystemString
Name of the arc.
startPoint
Type: SystemString
Start point of the arc.
endPoint
Type: SystemString
End point of the arc.
radius
Type: SystemString
Radius of the arc.
positiveAngle
Type: SystemBoolean
When true the angle of the arc will be positive in right-handed coordinate system.

Return Value

Type: ISimObject
Reference to the arc.
See Also