Back to FabImage Library website

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

Line2DToLine3D_AxesPlane


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Projects a 2D line onto a plane defined by 3D coordinate axes.

Syntax

C++
C#
 
void fil::Line2DToLine3D_AxesPlane
(
	const fil::Line2D& inLine2D,
	fil::PlaneType::Type inPlaneType,
	float inCoordinateValue,
	fil::Line3D& outLine3D,
	ftl::Optional<fil::Plane3D&> outProjectionPlane = ftl::NIL
)

Parameters

Name Type Default Description
Input value inLine2D const Line2D&
Input value inPlaneType PlaneType::Type
Input value inCoordinateValue float Coordinate of the chosen axes plane
Output value outLine3D Line3D&
Output value outProjectionPlane Optional<Plane3D&> NIL Plane the input is projected onto

Optional Outputs

The computation of following outputs can be switched off by passing value ftl::NIL to these parameters: outProjectionPlane.

Read more about Optional Outputs.

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect plane type.