Coordinate transform in 2D Note that the rotation is around the frame (or local) origin.
More...
#include <base_data_type.h>
Coordinate transform in 2D Note that the rotation is around the frame (or local) origin.
◆ shiftBaseStationToFrame()
Vec2d SPH::Transform2d::shiftBaseStationToFrame |
( |
const Vec2d & |
target | ) |
|
|
inline |
Inverse transformation. Note that the inverse translation operation is carried out first.
◆ shiftFrameStationToBase()
Vec2d SPH::Transform2d::shiftFrameStationToBase |
( |
const Vec2d & |
origin | ) |
|
|
inline |
Forward transformation. Note that the rotation operation is carried out first.
◆ xformBaseVecToFrame()
Vec2d SPH::Transform2d::xformBaseVecToFrame |
( |
const Vec2d & |
target | ) |
|
|
inline |
◆ xformFrameVecToBase()
Vec2d SPH::Transform2d::xformFrameVecToBase |
( |
const Vec2d & |
origin | ) |
|
|
inline |
The documentation for this class was generated from the following file: