 | 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
SyntaxISimObject AddArcOfCircleFromStartEndRadius(
string name,
string startPoint,
string endPoint,
string radius,
bool positiveAngle
)
Function AddArcOfCircleFromStartEndRadius (
name As String,
startPoint As String,
endPoint As String,
radius As String,
positiveAngle As Boolean
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim startPoint As String
Dim endPoint As String
Dim radius As String
Dim positiveAngle As Boolean
Dim returnValue As ISimObject
returnValue = instance.AddArcOfCircleFromStartEndRadius(name,
startPoint, endPoint, radius, 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:
ISimObjectReference to the arc.
See Also