Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Geometry 3D Spatial Transforms »
ProjectPoint2DOntoPlane3D
ProjectPoint2DOntoPlane3D
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
)
void ProjectPoint2DOntoPlane3D
(
Point2D inPoint2D,
Plane3D inPlane,
out Point3D outPointOnPlane
)
Parameters
|
Name |
Type |
Default |
Description |
|
inPoint2D |
const Point2D& |
|
|
|
inPlane |
const Plane3D& |
|
|
|
outPointOnPlane |
Point3D& |
|
Point projected on a plane parallel to Z axis |
Errors
Error type |
Description |
DomainError |
Point cannot be projected in ProjectPoint2DOntoPlane3D. |