Back to Aurora Vision Library website

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

ProjectLineOntoPlane3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Projects a line 3D onto a plane.

Syntax

C++
C#
 
void avl::ProjectLineOntoPlane3D
(
	const avl::Line3D& inLine3D,
	const avl::Plane3D& inPlane,
	avl::Line3D& outLineOnPlane
)

Parameters

Name Type Default Description
Input value inLine3D const Line3D&
Input value inPlane const Plane3D&
Output value outLineOnPlane Line3D& Line in 3D projected on a plane orthogonally

Errors

List of possible exceptions:

Error type Description
DomainError Cannot project line perpendicular to plane in ProjectLineOntoPlane3D.
DomainError Indefinite line on input in ProjectLineOntoPlane3D.
DomainError Indefinite plane on input in ProjectLineOntoPlane3D.