Plane constructor needs as 4th parameter a RT not a FT

This commit is contained in:
Andreas Fabri 2021-08-27 12:51:29 +01:00 committed by Giles Bathgate
parent 61e8c5a069
commit f856f05861
1 changed files with 3 additions and 3 deletions

View File

@ -716,9 +716,9 @@ static Point_3 find_median_point(Vertex_list& V, int coord) {
static Plane_3 construct_splitting_plane(const Point_3& pt, int coord)
{
switch(coord) {
case 0: return Plane_3(1, 0, 0, -pt.x());
case 1: return Plane_3(0, 1, 0, -pt.y());
case 2: return Plane_3(0, 0, 1, -pt.z());
case 0: return Plane_3(1/pt.hw(), 0, 0, -pt.hx());
case 1: return Plane_3(0, 1/pt.hw(), 0, -pt.hy());
case 2: return Plane_3(0, 0, 1/pt.hw(), -pt.hz());
}
CGAL_error_msg( "never reached");