Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » Vector2DToVector3D_AxesPlane

Vector2DToVector3D_AxesPlane


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Projects a 2D vector onto a plane defined by 3D coordinate axes.

Syntax

C++
C#
 
void avl::Vector2DToVector3D_AxesPlane
(
	const avl::Vector2D& inVector2D,
	avl::PlaneType::Type inPlaneType,
	float inCoordinateValue,
	avl::Vector3D& outVector3D,
	atl::Optional<avl::Plane3D&> outProjectionPlane = atl::NIL
)

Parameters

Name Type Default Description
Input value inVector2D const Vector2D&
Input value inPlaneType PlaneType::Type
Input value inCoordinateValue float Coordinate of the chosen axes plane
Output value outVector3D Vector3D&
Output value 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.