mirror of https://github.com/CGAL/cgal
Replace fix for Point_2(Origin)
This commit is contained in:
parent
2549b58973
commit
e169490c78
|
|
@ -40,7 +40,7 @@ public:
|
||||||
Ray_2_Line_2_pair(typename K::Ray_2 const *ray,
|
Ray_2_Line_2_pair(typename K::Ray_2 const *ray,
|
||||||
typename K::Line_2 const *line)
|
typename K::Line_2 const *line)
|
||||||
: _ray(ray), _line(line), _result(NOT_COMPUTED_YET),
|
: _ray(ray), _line(line), _result(NOT_COMPUTED_YET),
|
||||||
_intersection_point(typename K::Point_2(ORIGIN))
|
_intersection_point(K().construct_point_2_object()(ORIGIN))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Intersection_results intersection_type() const;
|
Intersection_results intersection_type() const;
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,6 @@ public:
|
||||||
*(vec+1) = 0;
|
*(vec+1) = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MyPointC2(const CGAL::Origin &)
|
|
||||||
:col(0)
|
|
||||||
{
|
|
||||||
*vec = 0;
|
|
||||||
*(vec+1) = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
MyPointC2(const double x, const double y, int c = 0)
|
MyPointC2(const double x, const double y, int c = 0)
|
||||||
: col(c)
|
: col(c)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue