Class Graph::DoorProperties
Defined in File Graph.hpp
Nested Relationships
This class is a nested type of Class Graph.
Class Documentation
-
class DoorProperties
Public Functions
-
const std::string &name() const
Get the name of the door.
-
Eigen::Vector2d start() const
Get the start position of the door.
-
Eigen::Vector2d end() const
Get the end position of the door.
-
const std::string &map() const
Get the name of the map that this door is on.
-
bool intersects(Eigen::Vector2d p0, Eigen::Vector2d p1, double envelope = 0.0) const
Check if the line formed by p0 -> p1 intersects this door.
-
DoorProperties(std::string name, Eigen::Vector2d start, Eigen::Vector2d end, std::string map)
Constructor.
-
const std::string &name() const