Class Shape

Inheritance Relationships

Derived Type

Class Documentation

class Shape

This is the base class of different shape classes that can be used by the rmf_traffic library. This cannot (currently) be extended by downstream libraries; instead, users must choose one of the pre-defined shape types belonging to this library.

See also

Box, Circle, Polygon

Subclassed by rmf_traffic::geometry::ConvexShape

Public Functions

virtual FinalShape finalize() const = 0

Finalize the shape so that it can be given to a Trajectory::Profile or a Zone.

Shape(Shape&&) = delete
Shape &operator=(Shape&&) = delete
virtual ~Shape()

Protected Functions

Internal *_get_internal()
const Internal *_get_internal() const
Shape(std::unique_ptr<Internal> internal)