fix for linux

This commit is contained in:
Sébastien Loriot 2012-05-30 08:13:02 +00:00
parent 1a97c50d10
commit bbda7671d8
1 changed files with 15 additions and 15 deletions

View File

@ -1,18 +1,18 @@
#ifndef CGAL_SURFACE_MESH_SEGMENTATION_H
#define CGAL_SURFACE_MESH_SEGMENTATION_H
/* NEED TO BE DONE */
/* About implementation:
/* +) I am not using BGL, as far as I checked there is a progress on BGL redesign
/* NEED TO BE DONE
* About implementation:
* +) I am not using BGL, as far as I checked there is a progress on BGL redesign
(https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/BGL) which introduces some features
for face-based traversal / manipulation by FaceGraphs */
/* +) Deciding on which parameters will be taken from user */
/* +) Make it more readable: calculate_sdf_value_of_facet function.
/* About paper (and correctness / efficiency etc.):
/* +) Weighting ray distances with inverse of their angles: not sure how to weight exactly */
/* +) Anisotropic smoothing: have no idea what it is exactly, should read some material (google search is not enough) */
/* +) Deciding how to generate rays in cone: for now using "polar angle" and "generate in square then accept-reject" techniques */
for face-based traversal / manipulation by FaceGraphs
* +) Deciding on which parameters will be taken from user
* +) Make it more readable: calculate_sdf_value_of_facet function.
* About paper (and correctness / efficiency etc.):
* +) Weighting ray distances with inverse of their angles: not sure how to weight exactly
* +) Anisotropic smoothing: have no idea what it is exactly, should read some material (google search is not enough)
* +) Deciding how to generate rays in cone: for now using "polar angle" and "generate in square then accept-reject" techniques
*/
#include <iostream>
#include <fstream>
#include <cmath>
@ -69,7 +69,7 @@ protected:
template <typename ValueTypeName>
struct compare_pairs_using_first {
bool operator()(ValueTypeName& v1, ValueTypeName& v2) {
bool operator()(const ValueTypeName& v1, const ValueTypeName& v2) {
return v1.first < v2.first;
}
};