mirror of https://github.com/CGAL/cgal
Fix warning
This commit is contained in:
parent
168631b069
commit
5ea5e93f45
|
|
@ -63,8 +63,8 @@ struct Exact_intersect_xy_2 <R,Cartesian_tag>
|
|||
}
|
||||
|
||||
const Segment_2* si = boost::get<Segment_2>(&*obj);
|
||||
p2 = s2.source();
|
||||
q2 = s2.target();
|
||||
p2 = si->source();
|
||||
q2 = si->target();
|
||||
|
||||
return boost::make_optional(variant_type(Segment_3(Point_3(p2.x(),p2.y(),0),
|
||||
Point_3(q2.x(),q2.y(),0) ) ));
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ struct Exact_intersect_xz_2 <R,Cartesian_tag>
|
|||
}
|
||||
|
||||
const Segment_2* si = boost::get<Segment_2>(&*obj);
|
||||
p2 = s2.source();
|
||||
q2 = s2.target();
|
||||
p2 = si->source();
|
||||
q2 = si->target();
|
||||
|
||||
return boost::make_optional(variant_type(Segment_3(Point_3(p2.x(),0,p2.y()),
|
||||
Point_3(q2.x(),0,q2.y()) ) ));
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ struct Exact_intersect_yz_2 <R,Cartesian_tag>
|
|||
}
|
||||
|
||||
const Segment_2* si = boost::get<Segment_2>(&*obj);
|
||||
p2 = s2.source();
|
||||
q2 = s2.target();
|
||||
p2 = si->source();
|
||||
q2 = si->target();
|
||||
|
||||
return boost::make_optional(variant_type(Segment_3(Point_3(0,p2.x(),p2.y()),
|
||||
Point_3(0,q2.x(),q2.y()) ) ));
|
||||
|
|
|
|||
Loading…
Reference in New Issue