spatial-dyn
Classes | Functions
Structs

Classes

class  spatial_dyn::ArticulatedBody
 
struct  spatial_dyn::Graphics
 
class  spatial_dyn::Joint
 
class  spatial_dyn::RigidBody
 

Functions

std::ostream & spatial_dyn::operator<< (std::ostream &os, const ArticulatedBody &ab)
 
std::ostream & spatial_dyn::operator<< (std::ostream &os, const Joint::Type &type)
 
std::istream & spatial_dyn::operator>> (std::istream &is, Joint::Type &type)
 
std::ostream & spatial_dyn::operator<< (std::ostream &os, const Joint &j)
 
std::ostream & spatial_dyn::operator<< (std::ostream &os, const RigidBody &rb)
 

Detailed Description

C++ implementation of spatial_dyn structs.

See also
Python: py_structs

Function Documentation

◆ operator<<() [1/4]

std::ostream & spatial_dyn::operator<< ( std::ostream &  os,
const ArticulatedBody ab 
)
Returns
Stream representation of the articulated body for debugging.
See also
Python: spatialdyn.ArticulatedBody.__repr__()

◆ operator<<() [2/4]

std::ostream & spatial_dyn::operator<< ( std::ostream &  os,
const Joint j 
)
Returns
Stream representation of the joint for debugging.
See also
Python: spatialdyn.Joint.__repr__()

◆ operator<<() [3/4]

std::ostream & spatial_dyn::operator<< ( std::ostream &  os,
const Joint::Type type 
)

Output the Joint::Type to an output stream.

The string representations of the type are "undefined", "rx", "ry", "rz", "px", "py", and "pz".

◆ operator<<() [4/4]

std::ostream & spatial_dyn::operator<< ( std::ostream &  os,
const RigidBody rb 
)
Returns
Stream representation of the rigid body for debugging.
See also
Python: spatialdyn.RigidBody.__repr__()

◆ operator>>()

std::istream & spatial_dyn::operator>> ( std::istream &  is,
Joint::Type type 
)

Parse one token from the input stream to a Joint::Type.

The string representations of the type are "undefined", "rx", "ry", "rz", "px", "py", and "pz".