Back to FabImage Library website

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

Segment3DToSegment2D_AxesPlane


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Projects a 3D segment onto a plane defined by coordinate axes.

Syntax

C++
C#
 
void fil::Segment3DToSegment2D_AxesPlane
(
	const fil::Segment3D& inSegment3D,
	fil::PlaneType::Type inPlaneType,
	fil::Segment2D& outSegment2D,
	ftl::Optional<fil::Plane3D&> outProjectionPlane = ftl::NIL
)

Parameters

Name Type Default Description
Input value inSegment3D const Segment3D&
Input value inPlaneType PlaneType::Type
Output value outSegment2D Segment2D&
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.