Back to Adaptive Vision Library website

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

TranslatePoint3D_Toward


Translates a point in 3D towards another point in 3D by a specified distance.

Syntax

C++
C#
 
void avl::TranslatePoint3D_Toward
(
	const avl::Point3D& inPoint3D,
	const avl::Point3D& inTargetPoint,
	float inDistance,
	bool inInverse,
	avl::Point3D& outPoint3D
)

Parameters

Name Type Default Description
inPoint3D const Point3D&
inTargetPoint const Point3D& Defines the direction of the translation
inDistance float The distance between inPoint3D and outPoint3D
inInverse bool Switches to the inverse operation
outPoint3D Point3D&