Back to FabImage Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Constructions » ProjectPointsOnLine3D

ProjectPointsOnLine3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Projects points onto a line.

Syntax

C++
C#
 
void fil::ProjectPointsOnLine3D
(
	const ftl::Array<fil::Point3D>& inPoints,
	const fil::Line3D& inLine,
	ftl::Array<fil::Point3D>& outProjectionPoints,
	ftl::Optional<ftl::Conditional<fil::Segment3D>&> outProjectionSegment = ftl::NIL
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point3D>&
Input value inLine const Line3D&
Output value outProjectionPoints Array<Point3D>&
Output value outProjectionSegment Optional<Conditional<Segment3D>&> NIL

Optional Outputs

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

Read more about Optional Outputs.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line in inLine in ProjectPointsOnLine3D.