Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::Poly2d Struct Reference

Public Member Functions

 Poly2d (vector< vec2 > &p_pts)
 
vec2 barycenter ()
 
void dump_contour ()
 
double cost (index_t i, index_t j, index_t k)
 
bool try_triangulate_minweight (vector< index_t > &triangles)
 
index_t parity_of_original_points ()
 
bool middle_point_quadrangulate (vector< index_t > &quads)
 
bool quads_are_valid (vector< index_t > &quads)
 
bool try_quad_cover (vector< index_t > &quads)
 
bool try_quadrangulate (vector< index_t > &quads)
 

Public Attributes

vector< vec2 > & pts
 

Detailed Description

Definition at line 53 of file polygon.h.


The documentation for this struct was generated from the following file: