Back to Aurora Vision Library website

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

TranslatePoint3D_Toward


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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
Input value inPoint3D const Point3D&
Input value inTargetPoint const Point3D& Defines the direction of the translation
Input value inDistance float The distance between inPoint3D and outPoint3D
Input value inInverse bool Switches to the inverse operation
Output value outPoint3D Point3D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inTargetPoint and outPoint3D, inPoint3D and outPoint3D

Read more about In-place Computation.