Back to Adaptive Vision Library website

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

LineThroughPoint3D


Computes a line in 3D passing through a point with given direction.

Header:AVL.h

Syntax

C++
C#
 
void avl::LineThroughPoint3D
(
	const avl::Point3D& inPoint3D,
	const avl::Vector3D& inDirectionVector,
	avl::Line3D& outLine3D
)

Parameters

Name Type Default Description
inPoint3D const Point3D& A point on the created line
inDirectionVector const Vector3D& Desired direction of the line
outLine3D Line3D& The resulting line in 3D