40 #ifndef GEOGRAM_DELAUNAY_LFS
41 #define GEOGRAM_DELAUNAY_LFS
70 sliver_angle_threshold_ = 0.01;
80 index_t v = spatial_search_->nearest_vertex(p);
81 const double* q = spatial_search_->vertex_ptr(v);
93 return poles_.size()/3;
119 double sliver_angle_threshold_;
121 Delaunay_var spatial_search_;
#define geo_debug_assert(x)
Verifies that a condition is met.
Computes an approximation of lfs (local feature size).
LocalFeatureSize(index_t nb_pts, const double *pts)
Initializes lfs computation.
const double * pole(index_t i) const
Gets a reference to a pole.
double squared_lfs(const double *p) const
Computes the squared local feature size at a query point.
index_t nb_poles() const
Gets the number of poles.
void init(index_t nb_pts, const double *pts)
Constructs the internal representation used to compute the local feature size.
Abstract interface for Delaunay.
Common include file, providing basic definitions. Should be included before anything else by all head...
Global Vorpaline namespace.
T geo_sqr(T x)
Gets the square value of a value.
geo_index_t index_t
The type for storing and manipulating indices.