Constructs an ellipse from a center point and the endpoints of two conjugate diameters.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public static Ellipse ConstructFromConjugateDiameters( Point M, Point P, Point Q ) |
Visual Basic (Declaration) |
---|
Public Shared Function ConstructFromConjugateDiameters ( _ M As Point, _ P As Point, _ Q As Point _ ) As Ellipse |
Visual C++ |
---|
public: static Ellipse^ ConstructFromConjugateDiameters( Point^ M, Point^ P, Point^ Q ) |
Parameters
- M
- Type: ceometric.VectorGeometry..::.Point
The center point of the ellipse.
- P
- Type: ceometric.VectorGeometry..::.Point
A point on the ellipse where M-P is conjugate to M-Q
- Q
- Type: ceometric.VectorGeometry..::.Point
A point on the ellipse where M-Q is conjugate to M-P
Return Value
Returns an ellipse with center M through P and Q.
Remarks
Uses a Rytz-construction to find the main axes of an ellipse from conjugate diameters.
Exceptions
Exception | Condition |
---|---|
System..::.ArithmeticException | Rytz construction failed due to numerical problems. You may try a smaller AbsoluteEpsilon to avoid this exception. |