Back to FabImage Library website

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

ProjectLineOntoPlane3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Projects a line 3D onto a plane.

Syntax

C++
C#
 
void fil::ProjectLineOntoPlane3D
(
	const fil::Line3D& inLine3D,
	const fil::Plane3D& inPlane,
	fil::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.