mirror of https://github.com/CGAL/cgal
Merge branch 'Tet_remeshing-with_sizing_field-jtournois' of https://github.com/janetournois/cgal into Tet_remeshing-with_sizing_field-jtournois
This commit is contained in:
commit
dc51bcc58d
|
|
@ -76,7 +76,7 @@ public:
|
|||
* Returns size at point `p`
|
||||
*/
|
||||
template <typename Index>
|
||||
FT operator()(const Bare_point& p, const int& dim, const Index& i) const
|
||||
FT operator()(const Bare_point& p, const int& /* dim */, const Index& /* i */) const
|
||||
{
|
||||
// Find nearest vertex
|
||||
K_neighbor_search search(m_kd_tree, p, 1/*nb nearest neighbors*/);
|
||||
|
|
|
|||
|
|
@ -967,7 +967,7 @@ template<typename Tr, typename Sizing>
|
|||
typename Tr::Geom_traits::FT
|
||||
squared_upper_size_bound(const typename Tr::Edge& e,
|
||||
const Sizing& sizing,
|
||||
const Tr& tr)
|
||||
const Tr& /* tr */)
|
||||
{
|
||||
using FT = typename Tr::Geom_traits::FT;
|
||||
using Vertex_handle = typename Tr::Vertex_handle;
|
||||
|
|
@ -1006,7 +1006,7 @@ template<typename Tr, typename Sizing>
|
|||
typename Tr::Geom_traits::FT
|
||||
squared_lower_size_bound(const typename Tr::Edge& e,
|
||||
const Sizing& sizing,
|
||||
const Tr& tr)
|
||||
const Tr& /* tr */)
|
||||
{
|
||||
using FT = typename Tr::Geom_traits::FT;
|
||||
using Vertex_handle = typename Tr::Vertex_handle;
|
||||
|
|
|
|||
|
|
@ -254,7 +254,6 @@ void tetrahedral_isotropic_remeshing(
|
|||
const double target_edge_length,
|
||||
const NamedParameters& np = parameters::default_values())
|
||||
{
|
||||
typedef CGAL::Triangulation_3<Traits, TDS, SLDS> Triangulation;
|
||||
typedef typename TDS::Vertex::Index Index;
|
||||
tetrahedral_isotropic_remeshing(
|
||||
tr,
|
||||
|
|
@ -271,14 +270,13 @@ void tetrahedral_isotropic_remeshing(
|
|||
const float target_edge_length,
|
||||
const NamedParameters& np = parameters::default_values())
|
||||
{
|
||||
typedef CGAL::Triangulation_3<Traits, TDS, SLDS> Triangulation;
|
||||
typedef typename TDS::Vertex::Index Index;
|
||||
tetrahedral_isotropic_remeshing(
|
||||
tr,
|
||||
[target_edge_length]
|
||||
(const typename Traits::Point_3& /* p */, const int&, const Index&)
|
||||
{return target_edge_length;},
|
||||
np);
|
||||
typedef typename TDS::Vertex::Index Index;
|
||||
tetrahedral_isotropic_remeshing(
|
||||
tr,
|
||||
[target_edge_length]
|
||||
(const typename Traits::Point_3& /* p */, const int&, const Index&)
|
||||
{return target_edge_length;},
|
||||
np);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue