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

Public Member Functions

 Prism (const std::vector< Point2d > &points, const double max_z, const double min_z)
 
 Prism (const std::vector< Point2d > &points, const double max_z, const double min_z, const std::string &horizontal_frame, const std::string &vertical_frame)
 
Prismoperator= (const Prism &other)
 
 Prism (const Prism &other)
 
 Prism (Prism &&other) noexcept
 
Prismoperator= (Prism &&other) noexcept
 
void subscribe (Subscriber *entity)
 
void unsubscribe (Subscriber *entity)
 
std::vector< Point2d > getPoints ()
 
double getMaxZ () const
 
double getMinZ () const
 
std::string getHorizontalFrame () const
 
std::string getVerticalFrame () const
 
Polygon2D getPolygon () const
 
unsigned int getNumVertices () const
 
Point2d getCenter () const
 
void setMaxZ (const double value)
 
void setMinZ (const double value)
 
bool setVertex (const Point2d &vertex, const unsigned int index)
 
bool setVertices (const std::vector< Point2d > &vertices, const std::vector< unsigned int > &indices)
 
void addVertexClockwise (const unsigned int index)
 
void addVertexCounterclockwise (const unsigned int index)
 
void move (const Point3d &adjustment)
 
void rotate (const double alpha)
 
void deleteVertex (const unsigned int index)
 
bool isPointIn (const Point3d &point) const
 
bool isPointIn (const double x, const double y, const double z) const
 
bool isPointIn (const Point2d &point) const
 
bool isPointIn (const double x, const double y) const
 

Member Function Documentation

◆ getVerticalFrame()

std::string mrs_lib::safety_zone::Prism::getVerticalFrame ( ) const

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