mirror of https://github.com/CGAL/cgal
clean preprocess() point types
This commit is contained in:
parent
f40210d858
commit
e4ee1e3926
|
|
@ -206,11 +206,9 @@ namespace internal
|
||||||
template<typename T3, typename Index/*Subdomain_index*/>
|
template<typename T3, typename Index/*Subdomain_index*/>
|
||||||
void add_layer_of_imaginary_tets(T3& tr, const Index& imaginary_index)
|
void add_layer_of_imaginary_tets(T3& tr, const Index& imaginary_index)
|
||||||
{
|
{
|
||||||
typedef typename T3::Geom_traits Gt;
|
typedef typename T3::Vertex_handle Vertex_handle;
|
||||||
typedef typename Gt::Point_3 Point_3;
|
typedef typename T3::Point Point;
|
||||||
typedef typename Gt::Vector_3 Vector_3;
|
typedef typename T3::Geom_traits::Vector_3 Vector_3;
|
||||||
|
|
||||||
typedef typename T3::Vertex_handle Vertex_handle;
|
|
||||||
|
|
||||||
//compute normals
|
//compute normals
|
||||||
boost::unordered_map<Vertex_handle, Vector_3> normals;
|
boost::unordered_map<Vertex_handle, Vector_3> normals;
|
||||||
|
|
@ -220,7 +218,7 @@ namespace internal
|
||||||
const double offset = 0.04 * compute_bbox_max_size(tr);
|
const double offset = 0.04 * compute_bbox_max_size(tr);
|
||||||
|
|
||||||
//compute points to be inserted
|
//compute points to be inserted
|
||||||
std::vector<Point_3> offset_points;
|
std::vector<Point> offset_points;
|
||||||
compute_offset_points(normals,
|
compute_offset_points(normals,
|
||||||
offset,
|
offset,
|
||||||
std::back_inserter(offset_points));
|
std::back_inserter(offset_points));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue