mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib::safety_zone::SafetyZone Class Reference

Public Member Functions

 SafetyZone (std::unique_ptr< Prism > &&outer_border)
 
 SafetyZone (std::unique_ptr< Prism > &&outer_border, std::vector< std::unique_ptr< Prism > > &&obstacles)
 
void enableSafetyZone (const bool enable)
 
bool safetyZoneEnabled (void)
 
bool isPointValid (const Point3d &point)
 
bool isPointValid (const double px, const double py, const double pz)
 
bool isPointValid (const Point2d &point)
 
bool isPointValid (const double px, const double py)
 
bool isPathValid (const Point3d &start, const Point3d &end)
 
bool isPathValid (const Point2d &start, const Point2d &end)
 
Prism getBorder () const
 
const std::map< int, std::unique_ptr< Prism > > & getObstacles () const
 
Prism getObstacle (const int index) const
 
int addObstacle (std::unique_ptr< Prism > obstacle)
 
void deleteObstacle (const int id)
 

The documentation for this class was generated from the following files: