Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » TranslatePoint
Translates a point by a vector.
Header: | AVL.h |
---|
Syntax
C++
C#
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
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPoint and outPoint