Back to Aurora Vision Library website

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

ProjectPoint2DOntoPlane3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Projects a point on a plane Z=0 onto a given plane, translating it parallel to Z axis.

Syntax

C++
C#
 
void avl::ProjectPoint2DOntoPlane3D
(
	const avl::Point2D& inPoint2D,
	const avl::Plane3D& inPlane,
	avl::Point3D& outPointOnPlane
)

Parameters

Name Type Default Description
Input value inPoint2D const Point2D&
Input value inPlane const Plane3D&
Output value outPointOnPlane Point3D& Point projected on a plane parallel to Z axis

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in ProjectPoint2DOntoPlane3D.
DomainError Point cannot be projected in ProjectPoint2DOntoPlane3D.