GeometryEllipticalArc Method
|
Introduces an elliptical arc to the
vectorization context.
Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
27.3.0.0
Syntax
public abstract bool EllipticalArc(
Point3d center,
Vector3d normal,
double majorAxisLength,
double minorAxisLength,
double startDegreeInRads,
double endDegreeInRads,
double tiltDegreeInRads,
ArcType arType
)
Public MustOverride Function EllipticalArc (
center As Point3d,
normal As Vector3d,
majorAxisLength As Double,
minorAxisLength As Double,
startDegreeInRads As Double,
endDegreeInRads As Double,
tiltDegreeInRads As Double,
arType As ArcType
) As Boolean
public:
virtual bool EllipticalArc(
Point3d center,
Vector3d normal,
double majorAxisLength,
double minorAxisLength,
double startDegreeInRads,
double endDegreeInRads,
double tiltDegreeInRads,
ArcType arType
) abstract
abstract EllipticalArc :
center : Point3d *
normal : Vector3d *
majorAxisLength : float *
minorAxisLength : float *
startDegreeInRads : float *
endDegreeInRads : float *
tiltDegreeInRads : float *
arType : ArcType -> bool
Parameters
- center Point3d
- [in] Center of the elliptical arc.
- normal Vector3d
- [in] Normal to the plane on which this elliptical arc
lies.
- majorAxisLength Double
- [in] Length of the major axis.
- minorAxisLength Double
- [in] Length of the minor axis.
- startDegreeInRads Double
- [in] Start angle in radians.
- endDegreeInRads Double
- [in] End angle in radians.
- tiltDegreeInRads Double
- [in] Tilt angle in radians.
- arType ArcType
- [in] Arc type.
Return Value
Boolean
true. This method also throws a corresponding exception if it
fails.
Remarks
arcType must be
one of the following: Name Value Description ArcSimple 0 Unfilled.
ArcSector 1 Filled area bounded by the arc and its center. ArcChord
2 Filled area bounded by the arc and its end points.
See Also