|
header_utils
|
The results of a triangulation of an external tpolygon<T>. More...
#include <polygon.h>
Public Types | |
| using | tvec |
| using | value_type |
Public Member Functions | |
| template<typename FUNC> | |
| void | for_each_triangle (FUNC &&func) |
| 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 > const & | poly |
| std::vector< tindexed_triangle< IDX > > | triangles |
The results of a triangulation of an external tpolygon<T>.
| using ghassanpl::geometry::polygon_triangulation< T, IDX >::tvec |
| using ghassanpl::geometry::polygon_triangulation< T, IDX >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| tpolygon<T> const& ghassanpl::geometry::polygon_triangulation< T, IDX >::poly |
| std::vector<tindexed_triangle<IDX> > ghassanpl::geometry::polygon_triangulation< T, IDX >::triangles |