Computes the parallel projection of the circle 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 circle is projected onto.
- viewDirection
- Type: ceometric.VectorGeometry..::.Vector3d
A vector defining the direction of the projection.
Return Value
Returns the parallel projection of the circle onto plane in the direction of viewDirection.Remarks
For an orthogonal parallel projection of a circle c onto a plane pl, write c.ProjectParallelOn(pl, pl.NormalVector);
The parallel projection of a circle onto a plane is an ellipse.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The view direction is parallel to the projection plane. |
System..::.ArgumentException | The view direction is parallel to the circle. |