Commit Graph

18 Commits

Author SHA1 Message Date
Sandeep Kumar Dey 8df7354020 vertex conf and finite edge conf modified
In Vertex conf pqt case
we can have infinite vertex even if p is not endpoint of q
and so previous assertion is removed, and the case is included
when p is not end point of q, and we check for the conflict
due to insertion of t
In Finite edge conf for p,q,t,sgn functor
we removed the assertion of p is endpoint of q,
and included the case when p is not end point of q
and check for the conflict with t
This solves the test case h2.cin
2015-06-30 10:30:49 +02:00
Sandeep Kumar Dey 28bc4f762a line bisector direction
The direction of bisector between a
vertical segment and point is modified.
2015-06-30 10:30:49 +02:00
Sandeep Kumar Dey ced5923eb6 infinite edge conf updated
In q,r,s,t, when both r and are end points of q,
and sgn is positive, it should return true,
as partially the inf edge is in conflict
2015-06-30 10:30:49 +02:00
Sandeep Kumar Dey fe2e59a2b9 Incircle_p pqt is updated
point-segment case is modified,
 one of p and q is point and the other is segment
 and t is point.
2015-06-30 10:30:48 +02:00
Sandeep Kumar Dey 76ce8e21b5 debug enabled in demo 2015-06-30 10:30:48 +02:00
Panagiotis Cheilaris 24893fe941 trailing whitespace removal in polychain code 2015-06-30 10:30:48 +02:00
Panagiotis Cheilaris 4bad319fcb draw components of polyline in draw_dual_edge 2015-06-30 10:30:48 +02:00
Panagiotis Cheilaris 7e635801fd support for drawing polylines in any stream
The drawing is done by pushing in a stream the constituent
segments and rays of a polyline. The code is almost identical
to the QT drawing code.

It will be used to simplify drawing operations in ipelets.
2015-06-30 10:30:48 +02:00
Sandeep Kumar Dey 7cd8e3714a Indentation fix 2015-06-30 10:30:48 +02:00
Sandeep Kumar Dey 74580c14c8 removed compiler warnings
we added assert false and return statements,
The function should not reach these locations.
2015-06-30 10:30:47 +02:00
Sandeep Kumar Dey 6f2ce90a62 incircle_p pqt with one site point and one segment
pqt case is handled properly the conflicts
are changed because of choice of new bisectors
Line 364 when one of p or q is a point
and the other is a segment, with query t = point
2015-06-30 10:30:47 +02:00
Sandeep Kumar Dey 327e6eb2c2 Inf edge conflict qsrt
s and r are end points of q
and t is point
This case should always return false
2015-06-30 10:30:47 +02:00
Sandeep Kumar Dey e826712740 Removed the case of general segment
Incircle_pps and Incircle_sps
In these cases the general segment cases are removed.
Incircle_pss case also needs updation, it should be more simplified.
2015-06-30 10:30:47 +02:00
Sandeep Kumar Dey 3299267643 Coordinates are replaced by Point_2
This is done in incircle test,  when query site t is segment
2015-06-30 10:30:47 +02:00
Panagiotis Cheilaris 454c5db99c examples files for axis-parallel SDG 2015-06-30 10:30:47 +02:00
Panagiotis Cheilaris 710a864b23 demo files for axis-parallel SDG 2015-06-30 10:30:47 +02:00
Panagiotis Cheilaris 0c1fd5ee3b demo resource files for axis-parallel SDG 2015-06-30 10:30:47 +02:00
Panagiotis Cheilaris d59aa78d0c include files for axis-parallel SDG 2015-06-30 10:30:46 +02:00