Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » TranslatePoint3D_Toward

TranslatePoint3D_Toward
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Translates a point in 3D towards another point in 3D by a specified distance.
Syntax
C++
C#
void fil::TranslatePoint3D_Toward ( const fil::Point3D& inPoint3D, const fil::Point3D& inTargetPoint, float inDistance, bool inInverse, fil::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.