Class Polygon2d
Defined in File alt_geometry.hpp
Inheritance Relationships
Derived Type
public autoware_utils::alt::ConvexPolygon2d(Class ConvexPolygon2d)
Class Documentation
-
class Polygon2d
Subclassed by autoware_utils::alt::ConvexPolygon2d
Public Functions
-
inline const PointList2d &outer() const noexcept
-
inline PointList2d &outer() noexcept
-
inline const std::vector<PointList2d> &inners() const noexcept
-
inline std::vector<PointList2d> &inners() noexcept
Public Static Functions
-
static std::optional<Polygon2d> create(const PointList2d &outer, const std::vector<PointList2d> &inners) noexcept
-
static std::optional<Polygon2d> create(PointList2d &&outer, std::vector<PointList2d> &&inners) noexcept
Protected Functions
-
inline Polygon2d(const PointList2d &outer, const std::vector<PointList2d> &inners)
-
inline Polygon2d(PointList2d &&outer, std::vector<PointList2d> &&inners)
-
inline const PointList2d &outer() const noexcept