|
header_utils
|
Contains both a tpolygon<T> as well as its triangulation. More...
#include <polygon.h>
Public Types | |
| using | tvec |
| using | value_type |
Public Member Functions | |
| 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 |
Public Attributes | |
| tpolygon< T > | poly |
| std::vector< tindexed_triangle< IDX > > | triangles |
Contains both a tpolygon<T> as well as its triangulation.
| using ghassanpl::geometry::triangulated_polygon< T, IDX >::tvec |
| using ghassanpl::geometry::triangulated_polygon< T, IDX >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| tpolygon<T> ghassanpl::geometry::triangulated_polygon< T, IDX >::poly |
| std::vector<tindexed_triangle<IDX> > ghassanpl::geometry::triangulated_polygon< T, IDX >::triangles |