Gets or sets the semimajor axis vector.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Vector3d SemimajorAxisVector { get; set; }
Visual Basic (Declaration)
Public Property SemimajorAxisVector As Vector3d
Visual C++
public:
property Vector3d^ SemimajorAxisVector {
	Vector3d^ get ();
	void set (Vector3d^ value);
}

Field Value

The semi major axis vector of the ellipse.

Remarks

The semimajor axis vector points from the center of the ellipse to the endpoint of the major axis.

Setting the semimajor axis vector also changes the direction of the normal vector of the ellipse.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe norm of the semimajor axis vector is zero.
System..::.ArgumentExceptionThe norm of the semimajor axis vector is less than the norm of the semiminor axis vector.
System..::.ArgumentExceptionSemimajor and semiminor axis vectors are not perpendicular. Use ConstructFromConjugateDiameters(Point, Point, Point) to construct an ellipse from conjugate diameters.

See Also