mirror of https://github.com/CGAL/cgal
fix for linux
This commit is contained in:
parent
1a97c50d10
commit
bbda7671d8
|
|
@ -1,18 +1,18 @@
|
||||||
#ifndef CGAL_SURFACE_MESH_SEGMENTATION_H
|
#ifndef CGAL_SURFACE_MESH_SEGMENTATION_H
|
||||||
#define CGAL_SURFACE_MESH_SEGMENTATION_H
|
#define CGAL_SURFACE_MESH_SEGMENTATION_H
|
||||||
/* NEED TO BE DONE */
|
/* NEED TO BE DONE
|
||||||
/* About implementation:
|
* About implementation:
|
||||||
/* +) I am not using BGL, as far as I checked there is a progress on BGL redesign
|
* +) 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
|
(https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/BGL) which introduces some features
|
||||||
for face-based traversal / manipulation by FaceGraphs */
|
for face-based traversal / manipulation by FaceGraphs
|
||||||
/* +) Deciding on which parameters will be taken from user */
|
* +) Deciding on which parameters will be taken from user
|
||||||
/* +) Make it more readable: calculate_sdf_value_of_facet function.
|
* +) 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 */
|
|
||||||
|
|
||||||
|
* 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 <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -69,7 +69,7 @@ protected:
|
||||||
|
|
||||||
template <typename ValueTypeName>
|
template <typename ValueTypeName>
|
||||||
struct compare_pairs_using_first {
|
struct compare_pairs_using_first {
|
||||||
bool operator()(ValueTypeName& v1, ValueTypeName& v2) {
|
bool operator()(const ValueTypeName& v1, const ValueTypeName& v2) {
|
||||||
return v1.first < v2.first;
|
return v1.first < v2.first;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue