Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » TranslatePoint_Toward
Translates a point towards another point by a specified distance.
Syntax
C++
C#
void avl::TranslatePoint_Toward ( const avl::Point2D& inPoint, const avl::Point2D& inTargetPoint, atl::real inDistance, bool inInverse, avl::Point2D& outPoint )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoint | const Point2D& | ||
![]() |
inTargetPoint | const Point2D& | Defines the direction of the translation | |
![]() |
inDistance | real | The distance between inPoint and outPoint | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPoint | Point2D& |


