Back to Aurora Vision Library website

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

ProjectPointsOnLine3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Projects points onto a line.

Syntax

C++
C#
 
void avl::ProjectPointsOnLine3D
(
	const atl::Array<avl::Point3D>& inPoints,
	const avl::Line3D& inLine,
	atl::Array<avl::Point3D>& outProjectionPoints,
	atl::Optional<atl::Conditional<avl::Segment3D>&> outProjectionSegment = atl::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 atl::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.