Parasol Planning Library (PPL)
CSpaceBoundingBox.h
Go to the documentation of this file.
1 #ifndef CSPACE_BOUNDING_BOX_H_
2 #define CSPACE_BOUNDING_BOX_H_
3 
4 #include "AbstractBoundingBox.h"
5 
6 
11 
12  public:
13 
16 
17  explicit CSpaceBoundingBox(const size_t _n);
18 
19  explicit CSpaceBoundingBox(const std::vector<double>& _center);
20 
21  CSpaceBoundingBox(XMLNode& _node);
22 
23  virtual ~CSpaceBoundingBox() 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 
48  void ShrinkToPoint(const Cfg& _c) noexcept;
49 
51 
52 };
53 
54 #endif
Definition: AbstractBoundingBox.h:12
Definition: Boundary.h:30
Space
The types of space that can be modeled with boundaries.
Definition: Boundary.h:38
An n-dimensional bounding box in c-space.
Definition: CSpaceBoundingBox.h:10
virtual std::string Name() const noexcept override
Get the name of the boundary type.
Definition: CSpaceBoundingBox.cpp:42
virtual ~CSpaceBoundingBox() noexcept
virtual std::unique_ptr< Boundary > Clone() const override
Definition: CSpaceBoundingBox.cpp:27
CSpaceBoundingBox(const size_t _n)
Definition: CSpaceBoundingBox.cpp:9
virtual bool InBoundary(const Vector3d &_p) const
Definition: Boundary.cpp:94
virtual Boundary::Space Type() const noexcept override
Get the space type.
Definition: CSpaceBoundingBox.cpp:35
void ShrinkToPoint(const Cfg &_c) noexcept
Shrink the box to a single point in C-Space.
Definition: CSpaceBoundingBox.cpp:58
Definition: Cfg.h:38
Definition: XMLNode.h:27