Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » TranslatePoint
![](../../img/icon/TranslatePoint.png)
TranslatePoint
Translates a point by a vector.
Syntax
void avl::TranslatePoint ( const avl::Point2D& inPoint, const avl::Vector2D& inDelta, bool inInverse, avl::Point2D& outPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoint | const Point2D& | ||
![]() |
inDelta | const Vector2D& | Translation vector | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPoint | Point2D& |
Examples
![]() |
![]() |
TranslatePoint performed on the sample point, inDelta = (80.0, 120.0) and inInverse = False.