Parasol Planning Library (PPL)
WorkspaceBoundingBox.h
Go to the documentation of this file.
1 #ifndef PMPL_WORKSPACE_BOUNDING_BOX_H_
2 #define PMPL_WORKSPACE_BOUNDING_BOX_H_
3 
4 #include "AbstractBoundingBox.h"
5 
6 
11 
12  public:
13 
16 
17  explicit WorkspaceBoundingBox(const size_t _n);
18 
19  explicit WorkspaceBoundingBox(const std::vector<double>& _center);
20 
22 
23  virtual ~WorkspaceBoundingBox() noexcept;
24 
25  virtual std::unique_ptr<Boundary> Clone() const override;
26 
30 
31  virtual Boundary::Space Type() const noexcept override;
32 
33  virtual std::string Name() const noexcept override;
34 
38 
39  using Boundary::InBoundary;
40 
41  virtual bool InBoundary(const Cfg& _c) const override;
42 
46 
47  using Boundary::CGALPolyhedron;
48 
49  virtual CGALPolyhedron CGAL() const override;
50 
51  virtual GMSPolyhedron MakePolyhedron() const override;
52 
54 
55 };
56 
57 #endif
Definition: AbstractBoundingBox.h:12
Definition: Boundary.h:30
Space
The types of space that can be modeled with boundaries.
Definition: Boundary.h:38
CGAL::Polyhedron_3< CGALKernel > CGALPolyhedron
Definition: Boundary.h:193
Definition: Cfg.h:38
Definition: GMSPolyhedron.h:42
A two or three dimensional bounding box in workspace.
Definition: WorkspaceBoundingBox.h:10
virtual CGALPolyhedron CGAL() const override
Create a CGAL polyhedron representation of this.
Definition: WorkspaceBoundingBox.cpp:185
virtual std::unique_ptr< Boundary > Clone() const override
Definition: WorkspaceBoundingBox.cpp:27
virtual ~WorkspaceBoundingBox() noexcept
virtual GMSPolyhedron MakePolyhedron() const override
Definition: WorkspaceBoundingBox.cpp:217
virtual bool InBoundary(const Vector3d &_p) const
Definition: Boundary.cpp:94
virtual std::string Name() const noexcept override
Get the name of the boundary type.
Definition: WorkspaceBoundingBox.cpp:42
WorkspaceBoundingBox(const size_t _n)
Definition: WorkspaceBoundingBox.cpp:9
virtual Boundary::Space Type() const noexcept override
Get the space type.
Definition: WorkspaceBoundingBox.cpp:35
Definition: XMLNode.h:27