SPHinXsys  alpha version
Public Member Functions | List of all members
SPH::Rotation2d Class Reference

Rotation Coordinate transform (around the origin) in 2D with an angle. More...

#include <base_data_type.h>

Public Member Functions

 Rotation2d (SimTK::Real angle)
 
Vec2d xformFrameVecToBase (const Vec2d &origin)
 
Vec2d xformBaseVecToFrame (const Vec2d &target)
 

Detailed Description

Rotation Coordinate transform (around the origin) in 2D with an angle.

Member Function Documentation

◆ xformBaseVecToFrame()

Vec2d SPH::Rotation2d::xformBaseVecToFrame ( const Vec2d &  target)
inline

Inverse transformation.

◆ xformFrameVecToBase()

Vec2d SPH::Rotation2d::xformFrameVecToBase ( const Vec2d &  origin)
inline

Forward transformation.


The documentation for this class was generated from the following file: