CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Draws an (elliptical) arc according to the provided parameters. May only be used when the implementation supports arcs (see CanDoArcs.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
void Arc( GeoPoint center, GeoVector majorAxis, GeoVector minorAxis, double startParameter, double sweepParameter ) |
Visual Basic |
---|
Sub Arc ( _ center As GeoPoint, _ majorAxis As GeoVector, _ minorAxis As GeoVector, _ startParameter As Double, _ sweepParameter As Double _ ) |
Visual C++ |
---|
void Arc( GeoPoint center, GeoVector majorAxis, GeoVector minorAxis, double startParameter, double sweepParameter ) |
Parameters
- center
- Type: CADability..::..GeoPoint
The center of the arc
- majorAxis
- Type: CADability..::..GeoVector
Major axis, also defines the radius
- minorAxis
- Type: CADability..::..GeoVector
Minor axis, also defines the radius. When painting a circular arc, minorAxis and majorAxis must have the same length
- startParameter
- Type: System..::..Double
Radian value of the starting position (0 is direction of majorAxis)
- sweepParameter
- Type: System..::..Double
Radian for the sweep angle