rbd::parsers::Geometry Struct Reference

#include <parsers/RBDyn/parsers/common.h>

Classes

struct  Box
 
struct  Cylinder
 
struct  Mesh
 
struct  Sphere
 
struct  Superellipsoid
 A Superellipsoid can approximate primitive shapes as boxes, cylinders and pyrimids while remaining strictly convex. More...
 

Public Types

enum  Type {
  BOX, CYLINDER, SPHERE, MESH,
  SUPERELLIPSOID, UNKNOWN
}
 
using Data = boost::variant< Box, Cylinder, Mesh, Sphere, Superellipsoid >
 

Public Member Functions

 Geometry ()
 

Public Attributes

Type type
 
Data data
 

Member Typedef Documentation

◆ Data

Member Enumeration Documentation

◆ Type

Enumerator
BOX 
CYLINDER 
SPHERE 
MESH 
SUPERELLIPSOID 
UNKNOWN 

Constructor & Destructor Documentation

◆ Geometry()

rbd::parsers::Geometry::Geometry ( )
inline

Member Data Documentation

◆ data

Data rbd::parsers::Geometry::data

◆ type

Type rbd::parsers::Geometry::type

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