|
ClanLib
2.3.7
|
Ear clipping triangulation result structure. More...
#include <ear_clip_result.h>
Public Member Functions | |
Construction | |
| CL_EarClipResult (int num_triangles) | |
| Constructs an ear clipping result structure. More... | |
| virtual | ~CL_EarClipResult () |
Attributes | |
| std::vector < CL_EarClipTriangulator_Triangle > & | get_triangles () |
| Returns the triangles for this result. More... | |
| CL_EarClipTriangulator_Triangle & | get_triangle (int index) |
| return a reference to a triangle in the triangulation. More... | |
Ear clipping triangulation result structure.
| CL_EarClipResult::CL_EarClipResult | ( | int | num_triangles) |
Constructs an ear clipping result structure.
|
virtual |
| CL_EarClipTriangulator_Triangle& CL_EarClipResult::get_triangle | ( | int | index) |
return a reference to a triangle in the triangulation.
Memory is preallocated for all triangles at creation. Use the returned reference to modify the triangles.
| std::vector<CL_EarClipTriangulator_Triangle>& CL_EarClipResult::get_triangles | ( | ) |
Returns the triangles for this result.
1.8.4