Geogram Version 1.9.6-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::Poly3d Struct Reference

Public Member Functions

 Poly3d (vector< vec3 > &p_pts)
 
void dump_contour ()
 
vec3 barycenter ()
 
vec3 normal ()
 
bool try_triangulate_minweight (vector< index_t > &triangles)
 
bool try_quadrangulate (vector< index_t > &quads)
 

Public Attributes

vector< vec3 > & pts
 

Detailed Description

Definition at line 82 of file polygon.h.

Constructor & Destructor Documentation

◆ Poly3d()

GEO::Poly3d::Poly3d ( vector< vec3 > &  p_pts)
inline

Definition at line 83 of file polygon.h.

Member Function Documentation

◆ try_quadrangulate()

bool GEO::Poly3d::try_quadrangulate ( vector< index_t > &  quads)

WARNING: it may introduce new vertices in pts

Member Data Documentation

◆ pts

vector<vec3>& GEO::Poly3d::pts

Definition at line 97 of file polygon.h.


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