Replace fix for Point_2(Origin)

This commit is contained in:
Maxime Gimeno 2020-09-30 10:03:30 +02:00
parent 2549b58973
commit e169490c78
2 changed files with 1 additions and 9 deletions

View File

@ -40,7 +40,7 @@ public:
Ray_2_Line_2_pair(typename K::Ray_2 const *ray,
typename K::Line_2 const *line)
: _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;

View File

@ -21,14 +21,6 @@ public:
*(vec+1) = 0;
}
MyPointC2(const CGAL::Origin &)
:col(0)
{
*vec = 0;
*(vec+1) = 0;
}
MyPointC2(const double x, const double y, int c = 0)
: col(c)
{