mirror of https://github.com/CGAL/cgal
Rename variable to avoid confusion + remove useless initialization
This commit is contained in:
parent
d775cde6e6
commit
c32373e75b
|
|
@ -949,26 +949,26 @@ Regular_triangulation<RTTraits, TDS>
|
||||||
{
|
{
|
||||||
typedef std::vector<Full_cell_handle> Full_cell_h_vector;
|
typedef std::vector<Full_cell_handle> Full_cell_h_vector;
|
||||||
|
|
||||||
bool is_in_conflict = true;
|
bool in_conflict;
|
||||||
if( current_dimension() < maximal_dimension() )
|
if( current_dimension() < maximal_dimension() )
|
||||||
{
|
{
|
||||||
Conflict_pred_in_subspace c(
|
Conflict_pred_in_subspace c(
|
||||||
*this, p,
|
*this, p,
|
||||||
coaffine_orientation_predicate(),
|
coaffine_orientation_predicate(),
|
||||||
power_test_in_flat_predicate());
|
power_test_in_flat_predicate());
|
||||||
is_in_conflict = c(s);
|
in_conflict = c(s);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Orientation_d ori = geom_traits().orientation_d_object();
|
Orientation_d ori = geom_traits().orientation_d_object();
|
||||||
Power_test_d side = geom_traits().power_test_d_object();
|
Power_test_d side = geom_traits().power_test_d_object();
|
||||||
Conflict_pred_in_fullspace c(*this, p, ori, side);
|
Conflict_pred_in_fullspace c(*this, p, ori, side);
|
||||||
is_in_conflict = c(s);
|
in_conflict = c(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If p is not in conflict with s, then p is hidden
|
// If p is not in conflict with s, then p is hidden
|
||||||
// => we don't insert it
|
// => we don't insert it
|
||||||
if (!is_in_conflict)
|
if (!in_conflict)
|
||||||
{
|
{
|
||||||
m_hidden_points.push_back(p);
|
m_hidden_points.push_back(p);
|
||||||
return Vertex_handle();
|
return Vertex_handle();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue