Parasol Planning Library (PPL)
Functions
Body.cpp File Reference
#include "Body.h"
#include "Connection.h"
#include "Geometry/Boundaries/WorkspaceBoundingBox.h"
#include "MPLibrary/ValidityCheckers/CollisionDetection/PQPCollisionDetection.h"
#include "Utilities/Color.h"
#include "Utilities/XMLNode.h"
#include <CGAL/Quotient.h>
#include <CGAL/MP_Float.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/algorithm.h>
#include <CGAL/Polyhedron_3.h>
#include <algorithm>
Include dependency graph for Body.cpp:

Functions

Body::Type GetBodyTypeFromTag (std::string _tag, const std::string &_where)
 
Body::MovementType GetMovementTypeFromTag (std::string _tag, const std::string &_where)
 
std::string GetTagFromBodyType (const Body::Type _b)
 
std::string GetTagFromMovementType (const Body::MovementType _bm)
 
std::ostream & operator<< (std::ostream &_os, const Body &_body)
 

Function Documentation

◆ GetBodyTypeFromTag()

Body::Type GetBodyTypeFromTag ( std::string  _tag,
const std::string &  _where 
)

Parse a body type from a textual label.

Parameters
_tagThe text label describing the body type.
_whereError information for undetected types.
Returns
The body type parsed from _tag.

◆ GetMovementTypeFromTag()

Body::MovementType GetMovementTypeFromTag ( std::string  _tag,
const std::string &  _where 
)

Parse a movement type from a textual label.

Parameters
_tagThe text label describing the movement type.
_whereError information for undetected types.
Returns
The movement type parsed from _tag.

◆ GetTagFromBodyType()

std::string GetTagFromBodyType ( const Body::Type  _b)

◆ GetTagFromMovementType()

std::string GetTagFromMovementType ( const Body::MovementType  _bm)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  _os,
const Body _body 
)