Back to FabImage Library website

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

ProjectPoint2DOntoPlane3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

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

Syntax

C++
C#
 
void fil::ProjectPoint2DOntoPlane3D
(
	const fil::Point2D& inPoint2D,
	const fil::Plane3D& inPlane,
	fil::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.