mirror of https://github.com/CGAL/cgal
pcr point segment case in construction is modified
when point is end of segment, now we have the ray with two linear components. example: h3.cin A 0,0 AB 0,0 100, 0 C 0,50 pcr for A , AB, C will be p[0]= -25, 25 p[1]= 0,0 and d=-1,-1
This commit is contained in:
parent
25f2d4c07b
commit
bf63c2d41e
|
|
@ -661,8 +661,9 @@ public:
|
|||
|
||||
if (are_same_points(sitep,sites.source_site())
|
||||
or are_same_points(sitep,sites.target_site())) {
|
||||
npts = 1;
|
||||
npts = 2;
|
||||
points[0] = v;
|
||||
points[1] = pnt;
|
||||
Point_2 pseg =
|
||||
(are_same_points(sitep,sites.source_site())) ?
|
||||
seg.target() : seg.source();
|
||||
|
|
|
|||
Loading…
Reference in New Issue