Skip to content

raisim::CollisionQueryShape ​

class · #include <raisim/CollisionQuery.hpp>

Convex geometry in its local frame. World queries take its pose separately.

Static member functions ​

sphere static ​

cpp
static CollisionQueryShape sphere(double radius)

capsule static ​

cpp
static CollisionQueryShape capsule(double radius, double halfAxisLength)

box static ​

cpp
static CollisionQueryShape box(const Vec<3> &halfExtents)

cylinder static ​

cpp
static CollisionQueryShape cylinder(double radius, double halfHeight)

convexHull static ​

cpp
static CollisionQueryShape convexHull(const std::vector<Vec<3>> &vertices)

The convex hull of the supplied vertices. Coplanar and lower-dimensional hulls are allowed.

RaiSim — physics for robotics and AI.