Computes the parallel projection of the ellipse onto a plane.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Ellipse ProjectParallelOn( Plane plane, Vector3d viewDirection ) |
Visual Basic (Declaration) |
---|
Public Function ProjectParallelOn ( _ plane As Plane, _ viewDirection As Vector3d _ ) As Ellipse |
Visual C++ |
---|
public: Ellipse^ ProjectParallelOn( Plane^ plane, Vector3d^ viewDirection ) |
Parameters
- plane
- Type: ceometric.VectorGeometry..::.Plane
A plane the ellipse is projected onto.
- viewDirection
- Type: ceometric.VectorGeometry..::.Vector3d
A vector defining the direction of the projection.
Return Value
Returns the parallel projection of the ellipse onto plane in the direction of viewDirection.Remarks
For an orthogonal parallel projection of an ellipse e onto a plane pl, write e.ProjectParallelOn(pl, pl.NormalVector);
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The view direction is parallel to the projection plane. |
System..::.ArgumentException | The view direction is parallel to the ellipse. |