CurveByPointsUtils.CreateArcThroughPoints
Method
Description:
Creates an arc through the given reference points.
Creates an arc through the given reference points.
Remarks:
The interiorPoint determines the orientation of the arc while startPoint and endPoint determine the angle parameters at the ends.
The interiorPoint determines the orientation of the arc while startPoint and endPoint determine the angle parameters at the ends.
Syntax
public static CurveElement CreateArcThroughPoints(
Document document,
ReferencePoint startPoint,
ReferencePoint endPoint,
ReferencePoint interiorPoint
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The Document. |
startPoint | ReferencePoint | The start point of the arc. |
endPoint | ReferencePoint | The end end of the arc. |
interiorPoint | ReferencePoint | The interior point on the arc. |
Return Value
Type | Description |
---|---|
CurveElement | The CurveElement to be created. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Can't create an arc from the given points |