Class ConvexPolygon2d

Inheritance Relationships

Base Type

Class Documentation

class ConvexPolygon2d : public autoware_utils::alt::Polygon2d

Public Functions

inline const PointList2d &vertices() const noexcept
inline PointList2d &vertices() noexcept

Public Static Functions

static std::optional<ConvexPolygon2d> create(const PointList2d &vertices) noexcept
static std::optional<ConvexPolygon2d> create(PointList2d &&vertices) noexcept
static std::optional<ConvexPolygon2d> create(const autoware_utils::Polygon2d &polygon) noexcept