mirror of https://github.com/CGAL/cgal
rename delaunay_remeshing to surface_Delaunay_remeshing
with capital D
This commit is contained in:
parent
c9b70e46a3
commit
4f5f83acbf
|
|
@ -163,9 +163,9 @@ namespace Polygon_mesh_processing {
|
|||
*/
|
||||
template<typename TriangleMesh
|
||||
, typename NamedParameters>
|
||||
void delaunay_remeshing(const TriangleMesh& tmesh
|
||||
, TriangleMesh& out
|
||||
, const NamedParameters& np)
|
||||
void surface_Delaunay_remeshing(const TriangleMesh& tmesh
|
||||
, TriangleMesh& out
|
||||
, const NamedParameters& np)
|
||||
{
|
||||
using parameters::get_parameter;
|
||||
using parameters::choose_parameter;
|
||||
|
|
@ -280,8 +280,8 @@ void delaunay_remeshing(const TriangleMesh& tmesh
|
|||
}
|
||||
|
||||
template<typename TriangleMesh>
|
||||
void delaunay_remeshing(const TriangleMesh& tmesh,
|
||||
TriangleMesh& out)
|
||||
void surface_Delaunay_remeshing(const TriangleMesh& tmesh,
|
||||
TriangleMesh& out)
|
||||
{
|
||||
delaunay_remeshing(tmesh, out, parameters::all_default());
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ HIDE_UNDOC_CLASSES = true
|
|||
WARN_IF_UNDOCUMENTED = false
|
||||
|
||||
INPUT += ${CGAL_PACKAGE_INCLUDE_DIR}/CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h
|
||||
INPUT += ${CGAL_Mesh_3_INCLUDE_DIR}/CGAL/Polygon_mesh_processing/delaunay_remeshing.h \
|
||||
INPUT += ${CGAL_Mesh_3_INCLUDE_DIR}/CGAL/Polygon_mesh_processing/surface_Delaunay_remeshing.h \
|
||||
${CGAL_Mesh_3_INCLUDE_DIR}/CGAL/Mesh_facet_topology.h
|
||||
STRIP_FROM_PATH += ${CGAL_Mesh_3_INCLUDE_DIR}
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ The page \ref bgl_namedparameters "Named Parameters" describes their usage.
|
|||
- `CGAL::Polygon_mesh_processing::triangulate_face()`
|
||||
- `CGAL::Polygon_mesh_processing::triangulate_faces()`
|
||||
- \link PMP_meshing_grp `CGAL::Polygon_mesh_processing::isotropic_remeshing()` \endlink
|
||||
- \link PMP_meshing_grp `CGAL::Polygon_mesh_processing::delaunay_remeshing()` \endlink
|
||||
- \link PMP_meshing_grp `CGAL::Polygon_mesh_processing::surface_Delaunay_remeshing()` \endlink
|
||||
- \link PMP_meshing_grp `CGAL::Polygon_mesh_processing::split_long_edges()` \endlink
|
||||
- `CGAL::Polygon_mesh_processing::random_perturbation()`
|
||||
- `CGAL::Polygon_mesh_processing::extrude_mesh()`
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ set of polylines features, that are resampled while preserving the topology of t
|
|||
input feature graph.
|
||||
|
||||
This solution for triangle surface remeshing is available in this package with the function
|
||||
`CGAL::Polygon_mesh_processing::delaunay_remeshing()`.
|
||||
`CGAL::Polygon_mesh_processing::surface_Delaunay_remeshing()`.
|
||||
All the meshing criteria defined for `CGAL::make_mesh_3()` can be used directly
|
||||
for size of simplices, shape of facets, surface approximation, topology,
|
||||
and one-dimensional features sampling.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <CGAL/Surface_mesh.h>
|
||||
#include <CGAL/Polygon_mesh_processing/detect_features.h>
|
||||
#include <CGAL/Polygon_mesh_processing/delaunay_remeshing.h>
|
||||
#include <CGAL/Polygon_mesh_processing/surface_Delaunay_remeshing.h>
|
||||
#include <CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h>
|
||||
|
||||
#include <CGAL/Mesh_constant_domain_field_3.h>
|
||||
|
|
@ -44,12 +44,12 @@ int main(int argc, char* argv[])
|
|||
<< " (" << num_faces(mesh) << " faces)..." << std::endl;
|
||||
|
||||
Mesh outmesh;
|
||||
PMP::delaunay_remeshing(mesh,
|
||||
outmesh,
|
||||
PMP::parameters::protect_constraints(true)
|
||||
.mesh_edge_size(size)
|
||||
.mesh_facet_distance(fdist)
|
||||
.edge_is_constrained_map(eif));
|
||||
PMP::surface_Delaunay_remeshing(mesh,
|
||||
outmesh,
|
||||
PMP::parameters::protect_constraints(true)
|
||||
.mesh_edge_size(size)
|
||||
.mesh_facet_distance(fdist)
|
||||
.edge_is_constrained_map(eif));
|
||||
|
||||
std::cout << "Remeshing done." << std::endl;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <CGAL/Surface_mesh.h>
|
||||
#include <CGAL/Polygon_mesh_processing/detect_features.h>
|
||||
#include <CGAL/Polygon_mesh_processing/delaunay_remeshing.h>
|
||||
#include <CGAL/Polygon_mesh_processing/surface_Delaunay_remeshing.h>
|
||||
#include <CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h>
|
||||
|
||||
#include <vector>
|
||||
|
|
@ -39,7 +39,7 @@ int main(int argc, char* argv[])
|
|||
<< " (" << num_faces(mesh) << " faces)..." << std::endl;
|
||||
|
||||
Mesh outmesh;
|
||||
PMP::delaunay_remeshing(mesh,
|
||||
PMP::surface_Delaunay_remeshing(mesh,
|
||||
outmesh,
|
||||
PMP::parameters::protect_constraints(true)
|
||||
.mesh_edge_size(target_edge_length)
|
||||
|
|
@ -61,7 +61,7 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
|
||||
Mesh outmesh2;
|
||||
PMP::delaunay_remeshing(mesh,
|
||||
PMP::surface_Delaunay_remeshing(mesh,
|
||||
outmesh2,
|
||||
PMP::parameters::protect_constraints(true)
|
||||
.mesh_edge_size(target_edge_length)
|
||||
|
|
|
|||
Loading…
Reference in New Issue