mirror of https://github.com/CGAL/cgal
Fix warnings
This commit is contained in:
parent
b270b3fa2b
commit
f29872c15d
|
|
@ -89,7 +89,7 @@ void output_to_medit(std::ostream& os,
|
|||
const Vertex_index_property_map& vertex_pmap,
|
||||
const Facet_index_property_map& facet_pmap,
|
||||
const Cell_index_property_map& cell_pmap,
|
||||
const Facet_index_property_map_twice& facet_twice_pmap = Facet_index_property_map_twice())
|
||||
const Facet_index_property_map_twice& = Facet_index_property_map_twice())
|
||||
{
|
||||
#ifdef CGAL_MESH_3_IO_VERBOSE
|
||||
std::cout << "Output to medit;\n"
|
||||
|
|
@ -119,7 +119,6 @@ void output_to_medit(std::ostream& os,
|
|||
typedef typename C3T3::Cell_handle Cell_handle;
|
||||
|
||||
typedef typename Tr::Vertex_iterator Vertex_iterator;
|
||||
typedef typename C3T3::Facet_iterator Facet_iterator;
|
||||
|
||||
typedef typename Tr::Offset Offset;
|
||||
|
||||
|
|
|
|||
|
|
@ -955,7 +955,7 @@ public:
|
|||
typedef Cartesian_converter<EKernel, Kernel> Back_from_exact;
|
||||
|
||||
typedef CGAL::Periodic_3_regular_triangulation_traits_3<EKernel> Exact_Rt;
|
||||
typedef typename Exact_Rt::Point_3 EPoint_3;
|
||||
typedef typename Exact_Rt::Weighted_point_3 EWeighted_point_3;
|
||||
|
||||
To_exact to_exact;
|
||||
Back_from_exact back_from_exact;
|
||||
|
|
@ -963,20 +963,17 @@ public:
|
|||
Exact_Rt etraits(to_exact(domain()));
|
||||
Exact_Rt::Construct_weighted_circumcenter_3 exact_weighted_circumcenter =
|
||||
etraits.construct_weighted_circumcenter_3_object();
|
||||
Exact_Rt::Construct_point_3 exact_construct_point =
|
||||
etraits.construct_point_3_object();
|
||||
|
||||
const typename Exact_Rt::Weighted_point_3& cp = to_exact(c->vertex((i+1)%4)->point());
|
||||
const typename Exact_Rt::Weighted_point_3& cq = to_exact(c->vertex((i+2)%4)->point());
|
||||
const typename Exact_Rt::Weighted_point_3& cr = to_exact(c->vertex((i+3)%4)->point());
|
||||
const typename Exact_Rt::Weighted_point_3& cs = to_exact(ws);
|
||||
const EWeighted_point_3& cp = to_exact(c->vertex((i+1)%4)->point());
|
||||
const EWeighted_point_3& cq = to_exact(c->vertex((i+2)%4)->point());
|
||||
const EWeighted_point_3& cr = to_exact(c->vertex((i+3)%4)->point());
|
||||
const EWeighted_point_3& cs = to_exact(ws);
|
||||
|
||||
cc = back_from_exact(
|
||||
exact_weighted_circumcenter(cp, cq, cr, cs,
|
||||
pp_fcc.second + get_offset(c, (i+1)%4),
|
||||
pp_fcc.second + get_offset(c, (i+2)%4),
|
||||
pp_fcc.second + get_offset(c, (i+3)%4),
|
||||
pp_s.second + min_off));
|
||||
cc = back_from_exact(exact_weighted_circumcenter(cp, cq, cr, cs,
|
||||
pp_fcc.second + get_offset(c, (i+1)%4),
|
||||
pp_fcc.second + get_offset(c, (i+2)%4),
|
||||
pp_fcc.second + get_offset(c, (i+3)%4),
|
||||
pp_s.second + min_off));
|
||||
}
|
||||
|
||||
void dual_segment(const Facet& facet, Bare_point& p, Bare_point& q) const
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@ bool project_points(C3T3& c3t3,
|
|||
InputIterator vertex_end)
|
||||
{
|
||||
typedef typename C3T3::Vertex_handle Vertex_handle;
|
||||
typedef typename C3T3::Cell_handle Cell_handle;
|
||||
|
||||
typedef typename C3T3::Triangulation Tr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue