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