Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » TranslateCoordinateSystem

TranslateCoordinateSystem
Header: | FIL.h |
---|---|
Namespace: | fil |
Translates a coordinate system by a vector.
Syntax
void fil::TranslateCoordinateSystem ( const fil::CoordinateSystem2D& inCoordinateSystem, const fil::Vector2D& inDelta, bool inInverse, fil::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.