Constructs an ellipse from the major axis, the normal vector and the eccentricity.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Ellipse( Point center, Edge majorAxis, Vector3d normalVector, double eccentricity ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ center As Point, _ majorAxis As Edge, _ normalVector As Vector3d, _ eccentricity As Double _ ) |
Visual C++ |
---|
public: Ellipse( Point^ center, Edge^ majorAxis, Vector3d^ normalVector, double eccentricity ) |
Parameters
- center
- Type: ceometric.VectorGeometry..::.Point
The center of the ellipse.
- majorAxis
- Type: ceometric.VectorGeometry..::.Edge
The major axis of the ellipse.
- normalVector
- Type: ceometric.VectorGeometry..::.Vector3d
The normal vector of the ellipse.
- eccentricity
- Type: System..::.Double
The eccentricity of the ellipse.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The norm of the resulting semimajor axis vector is zero. |
System..::.ArgumentException | The norm of the resulting semiminor axis vector is zero. |