CircularArc2d Constructor (Point2d, Double, Double, Double, Vector2d, Boolean)

Constructor for the CircularArc2d class.
Namespace:  Teigha.Geometry
Assembly:  TD_Mgd (in TD_Mgd.dll) Version: 21.4.0.0
Syntax
public CircularArc2d(
        Point2d center,
        double radius,
        double startAngle,
        double endAngle,
        Vector2d referenceVector,
        bool isClockWise
)

Parameters

center
Type: Teigha.GeometryPoint2d
[in] Center of an arc.
radius
Type: SystemDouble
[in] Radius of an arc.
startAngle
Type: SystemDouble
[in] Start angle of an arc.
endAngle
Type: SystemDouble
[in] End angle of an arc.
referenceVector
Type: Teigha.GeometryVector2d
[in] The reference vector defining arc angle 0.
isClockWise
Type: SystemBoolean
[in] Specifies whether the circular arc is oriented clockwise.
Remarks
The constructor creates a circular arc with the specified parameters. To construct a circle, set endAng = startAng + Oda2PI. All angles are expressed in radians. The start angle must be less than the end angle.
See Also

©  Bricsys NV. All rights reserved.