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 | |
---|---|---|---|---|
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& |
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.