raisim::Shape
namespace
Geometry shape types.
Enumerations
Type
#include <raisim/object/ArticulatedSystem/JointAndBodies.hpp>
cpp
enum Type : intShape type. Articulated-system collision bodies support Box, Cylinder, Sphere, Mesh, Capsule and Ground.
| Enumerator | Value |
|---|---|
Box | 0 |
Cylinder | |
Sphere | |
Mesh | |
Capsule | |
Cone | |
Ground | |
CoordinateFrame | |
Arrow | |
RotationalArrow | |
HeightMap | |
PolyLine | |
SingleLine | |
NotShape |
Functions
stringToShape
#include <raisim/object/ArticulatedSystem/JointAndBodies.hpp>
cpp
Shape::Type stringToShape(const std::string &shape)Parameters
| Parameter | Description |
|---|---|
shape (in) | "mesh", "sphere", "capsule", "cylinder", "box" or "plane" (Ground) |
Returns the corresponding shape type, or NotShape for any other string