Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » TranslateCoordinateSystem
TranslateCoordinateSystem
Header: | AVL.h |
---|---|
Namespace: | avl |
Translates a coordinate system by a vector.
Syntax
void avl::TranslateCoordinateSystem ( const avl::CoordinateSystem2D& inCoordinateSystem, const avl::Vector2D& inDelta, bool inInverse, avl::CoordinateSystem2D& outCoordinateSystem )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inCoordinateSystem | const CoordinateSystem2D& | |||
inDelta | const Vector2D& | Translation vector | ||
inInverse | bool | Switches to the inverse operation | ||
outCoordinateSystem | CoordinateSystem2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inCoordinateSystem and outCoordinateSystem
Read more about In-place Computation.