|
|
| tpolygon (tpolygon const &) noexcept=default |
|
| tpolygon (tpolygon &&) noexcept=default |
|
tpolygon & | operator= (tpolygon const &) noexcept=default |
|
tpolygon & | operator= (tpolygon &&) noexcept=default |
| template<typename... ARGS> |
| | tpolygon (ARGS &&... args) noexcept |
| template<typename POLY_OR_ARR> |
| | tpolygon (POLY_OR_ARR &&poly, std::vector< indexed_triangle > triangles, std::vector< T > cached_triangle_areas, T cached_area) |
| | Deserialization constructor.
|
| tvec const & | operator[] (size_t index) const |
| auto | cbegin () const noexcept |
| auto | cend () const noexcept |
| auto | begin () const noexcept |
| auto | end () const noexcept |
| auto | size () const noexcept |
| const auto * | operator-> () const noexcept |
| const auto & | polygon () const noexcept |
| T | edge_length () const |
| tvec | edge_point_alpha (T t) const |
| tvec | edge_point (T t) const |
| trec2< T > | bounding_box () const |
| tvec | closest_point_to (glm::tvec2< T > pt) const |
|
bool | contains (glm::tvec2< T > pt) const |
| | area_shape concept
|
| T | calculate_area () const |
| tvec | centroid () const |
| auto const & | triangles () const |
| auto const & | areas () const |
| bool | has_triangle (size_t i) const |
| auto | triangle (size_t i) const |
| T | triangle_area (size_t i) const |
template<std::floating_point T>
struct ghassanpl::geometry::immutable::tpolygon< T >
An immutable version of tpolygon that performs and caches its triangulation lazily upon request.
Definition at line 501 of file polygon.h.