![]() |
Parasol Planning Library (PPL)
|
#include "TetGenDecomposition.h"
#include "Geometry/Bodies/Body.h"
#include "Geometry/Bodies/MultiBody.h"
#include "MPLibrary/ValidityCheckers/CollisionDetection/CDInfo.h"
#include "MPLibrary/ValidityCheckers/CollisionDetection/PQPCollisionDetection.h"
#include "MPProblem/Environment/Environment.h"
#include "MPProblem/MPProblem.h"
#include "Workspace/WorkspaceDecomposition.h"
#include "Utilities/PMPLExceptions.h"
#include "Utilities/XMLNode.h"
#include "tetgen.h"
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/IO/io.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
#include <CGAL/IO/print_OFF.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Nef_3/SNC_indexed_items.h>
Macros | |
#define | TETLIBRARY |
Typedefs | |
using | CGALKernel = CGAL::Exact_predicates_exact_constructions_kernel |
using | NefPolyhedron = CGAL::Nef_polyhedron_3< CGALKernel > |
using | Polyhedron = CGAL::Polyhedron_3< CGALKernel > |
Functions | |
size_t | PointIndex (const NefPolyhedron &_polyhedron, const NefPolyhedron::Point_3 &_p) |
void | AddVertices (tetgenio *const _freeModel, const NefPolyhedron &_freespace, const bool _debug) |
vector< vector< vector< size_t > > > | ExtractFacets (const NefPolyhedron &_freespace) |
void | AddFacets (tetgenio *const _freeModel, const NefPolyhedron &_freespace, const bool _debug) |
void | AddHoles (tetgenio *const _freeModel, const NefPolyhedron &_freespace, const Environment *const _env, const bool _debug) |
void | OutputNefPolyhedron (const NefPolyhedron &_p, const string _filename) |
#define TETLIBRARY |
using CGALKernel = CGAL::Exact_predicates_exact_constructions_kernel |
using NefPolyhedron = CGAL::Nef_polyhedron_3<CGALKernel> |
using Polyhedron = CGAL::Polyhedron_3<CGALKernel> |
void AddFacets | ( | tetgenio *const | _freeModel, |
const NefPolyhedron & | _freespace, | ||
const bool | _debug | ||
) |
Add the facets to the free model.
_freeModel | The tetgen model under construction. |
_freespace | The free space polyhedra. |
_debug | Show debug messages? |
void AddHoles | ( | tetgenio *const | _freeModel, |
const NefPolyhedron & | _freespace, | ||
const Environment *const | _env, | ||
const bool | _debug | ||
) |
Add holes to the free model for each obstacle.
_freeModel | The tetgen model under construction. |
_freespace | The free space polyhedra. |
_env | The environment object. |
_debug | Show debug messages? |
void AddVertices | ( | tetgenio *const | _freeModel, |
const NefPolyhedron & | _freespace, | ||
const bool | _debug | ||
) |
Add the vertices to the free model.
_freeModel | The tetgen model under construction. |
_freespace | The free space polyhedra. |
_debug | Show debug messages? |
vector<vector<vector<size_t> > > ExtractFacets | ( | const NefPolyhedron & | _freespace | ) |
Extract facet info from the freespace nef poly.
_freespace | The freespace nef poly. |
void OutputNefPolyhedron | ( | const NefPolyhedron & | _p, |
const string | _filename | ||
) |
size_t PointIndex | ( | const NefPolyhedron & | _polyhedron, |
const NefPolyhedron::Point_3 & | _p | ||
) |
Get the index of a point in the freespace nef poly.
_polyhedron | The nef polyhedron of interest. |
_p | The point to locate. |