mirror of https://github.com/CGAL/cgal
remove GeomTraits template parameter
This commit is contained in:
parent
e0317d4678
commit
cc88b2bc36
|
|
@ -83,8 +83,7 @@ int main(int argc, char *argv[])
|
||||||
anchor_pos,
|
anchor_pos,
|
||||||
anchor_vtx,
|
anchor_vtx,
|
||||||
bdrs,
|
bdrs,
|
||||||
L21ApproximationTrait(mesh, point_pmap, normal_pmap, area_pmap),
|
L21ApproximationTrait(mesh, point_pmap, normal_pmap, area_pmap));
|
||||||
Kernel());
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -188,8 +188,7 @@ int main(int argc, char *argv[])
|
||||||
anchor_pos,
|
anchor_pos,
|
||||||
anchor_vtx,
|
anchor_vtx,
|
||||||
bdrs,
|
bdrs,
|
||||||
ApproxTrait(mesh, point_pmap, center_pmap, area_pmap, normal_pmap),
|
ApproxTrait(mesh, point_pmap, center_pmap, area_pmap, normal_pmap));
|
||||||
Kernel());
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ namespace CGAL
|
||||||
* @tparam AnchorVertexContainer a container of extracted anchor vertex
|
* @tparam AnchorVertexContainer a container of extracted anchor vertex
|
||||||
* @tparam BoundaryContainer a container of proxy patch boundary
|
* @tparam BoundaryContainer a container of proxy patch boundary
|
||||||
* @tparam ApproximationTrait an approximation trait
|
* @tparam ApproximationTrait an approximation trait
|
||||||
* @tparam GeomTraits geometric kernel
|
|
||||||
|
|
||||||
* @param init select seed initialization
|
* @param init select seed initialization
|
||||||
* @param tm a triangle mesh
|
* @param tm a triangle mesh
|
||||||
|
|
@ -40,7 +39,6 @@ namespace CGAL
|
||||||
* @param vtx anchor vertex container
|
* @param vtx anchor vertex container
|
||||||
* @param bdrs proxy patch boundary container
|
* @param bdrs proxy patch boundary container
|
||||||
* @param app_trait shape approximation trait
|
* @param app_trait shape approximation trait
|
||||||
* @param traits kernel traits
|
|
||||||
*/
|
*/
|
||||||
template<typename TriangleMesh,
|
template<typename TriangleMesh,
|
||||||
typename FacetProxyMap,
|
typename FacetProxyMap,
|
||||||
|
|
@ -50,8 +48,7 @@ template<typename TriangleMesh,
|
||||||
typename AnchorPositionContainer,
|
typename AnchorPositionContainer,
|
||||||
typename AnchorVertexContainer,
|
typename AnchorVertexContainer,
|
||||||
typename BoundaryContainer,
|
typename BoundaryContainer,
|
||||||
typename ApproximationTrait,
|
typename ApproximationTrait>
|
||||||
typename GeomTraits>
|
|
||||||
void vsa_mesh_approximation(
|
void vsa_mesh_approximation(
|
||||||
const int init,
|
const int init,
|
||||||
const TriangleMesh &tm,
|
const TriangleMesh &tm,
|
||||||
|
|
@ -64,8 +61,7 @@ template<typename TriangleMesh,
|
||||||
AnchorPositionContainer &pos,
|
AnchorPositionContainer &pos,
|
||||||
AnchorVertexContainer &vtx,
|
AnchorVertexContainer &vtx,
|
||||||
BoundaryContainer &bdrs,
|
BoundaryContainer &bdrs,
|
||||||
const ApproximationTrait &app_trait,
|
const ApproximationTrait &app_trait) {
|
||||||
GeomTraits traits) {
|
|
||||||
// CGAL_precondition(is_pure_triangle(tm));
|
// CGAL_precondition(is_pure_triangle(tm));
|
||||||
|
|
||||||
typedef CGAL::internal::VSA_approximation<
|
typedef CGAL::internal::VSA_approximation<
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue