walberla::mesa_pd::collision_detection::Support Class Reference

#include <Support.h>

Public Member Functions

 Support (const Vec3 &pos, const Rot3 &rot, const data::BaseShape &shape)
 
Vec3 support (Vec3 d) const
 Estimates the point which is farthest in direction d. More...
 

Public Attributes

Vec3 pos_
 
Rot3 rot_
 
const data::BaseShapeshape_
 

Constructor & Destructor Documentation

◆ Support()

walberla::mesa_pd::collision_detection::Support::Support ( const Vec3 pos,
const Rot3 rot,
const data::BaseShape shape 
)
inline
Attention
Lifetime of shape has to surpass lifetime of Support!!! No copy is stored.

Member Function Documentation

◆ support()

Vec3 walberla::mesa_pd::collision_detection::Support::support ( Vec3  d) const
inline

Estimates the point which is farthest in direction d.

Parameters
dThe normalized search direction in world-frame coordinates.
Returns
The support point in world-frame coordinates in direction d.

Member Data Documentation

◆ pos_

Vec3 walberla::mesa_pd::collision_detection::Support::pos_

◆ rot_

Rot3 walberla::mesa_pd::collision_detection::Support::rot_

◆ shape_

const data::BaseShape& walberla::mesa_pd::collision_detection::Support::shape_

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