humoto
Public Types | Static Public Member Functions | List of all members
humoto::rbdl::SpatialType Class Reference

Detailed Description

This class collects enums and methods to facilitate partial handling of spatial data, e.g., for discrimination of rotational, translational, and complete Jacobians.

Definition at line 21 of file spatial_transform.h.

#include <spatial_transform.h>

Public Types

enum  Type { UNDEFINED = 0, COMPLETE = 1, TRANSLATION = 2, ROTATION = 3 }
 Type os spatial data. More...
 

Static Public Member Functions

static std::size_t getNumberOfElements (const Type &spatial_type)
 Returns number of elements (dimensionality) for given spatial data type. More...
 

Member Enumeration Documentation

◆ Type

Type os spatial data.

Enumerator
UNDEFINED 
COMPLETE 
TRANSLATION 
ROTATION 

Definition at line 27 of file spatial_transform.h.

Member Function Documentation

◆ getNumberOfElements()

static std::size_t humoto::rbdl::SpatialType::getNumberOfElements ( const Type spatial_type)
inlinestatic

Returns number of elements (dimensionality) for given spatial data type.

Parameters
[in]spatial_type
Returns
3 or 6

Definition at line 44 of file spatial_transform.h.


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