Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » Vector3DToVector2D_AxesPlane
Vector3DToVector2D_AxesPlane
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | Vision3DLite |
Projects a 3D vector onto a plane defined by coordinate axes.
Syntax
C++
C#
void avl::Vector3DToVector2D_AxesPlane ( const avl::Vector3D& inVector3D, avl::PlaneType::Type inPlaneType, avl::Vector2D& outVector2D, atl::Optional<avl::Plane3D&> outProjectionPlane = atl::NIL )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inVector3D | const Vector3D& | ||
![]() |
inPlaneType | PlaneType::Type | ||
![]() |
outVector2D | Vector2D& | ||
![]() |
outProjectionPlane | Optional<Plane3D&> | NIL | Plane the input is projected onto |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outProjectionPlane.
Read more about Optional Outputs.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Incorrect plane type. |


