mirror of https://github.com/CGAL/cgal
Merge pull request #8532 from afabri/CGAL-duplicateLines-GF
Duplicate Lines
This commit is contained in:
commit
b10841c72b
|
|
@ -24,18 +24,18 @@
|
||||||
<class name="cls241" key="increment walk Segments Lazy Simple Cartesian Cgal Gmpq"/>
|
<class name="cls241" key="increment walk Segments Lazy Simple Cartesian Cgal Gmpq"/>
|
||||||
<class name="cls242" key="aggregate Segments Lazy Simple Cartesian Cgal Gmpq"/>
|
<class name="cls242" key="aggregate Segments Lazy Simple Cartesian Cgal Gmpq"/>
|
||||||
<class name="cls251" key="increment walk Segments Exact Cgal Gmpq"/>
|
<class name="cls251" key="increment walk Segments Exact Cgal Gmpq"/>
|
||||||
<class name="cls252" key="aggregate Segments Exact Cgal Gmpq"/>
|
<class name="cls252" key="aggregate Segments Exact Cgal Gmpq"/>
|
||||||
<class name="cls261" key=""/>
|
<class name="cls261" key=""/>
|
||||||
<class name="cls262" key=""/>
|
<class name="cls262" key=""/>
|
||||||
<class name="cls271" key=""/>
|
<class name="cls271" key=""/>
|
||||||
<class name="cls272" key=""/>
|
<class name="cls272" key=""/>
|
||||||
|
|
||||||
<clo name="verbose" string="--verbose"/>
|
<clo name="verbose" string="--verbose"/>
|
||||||
<clo name="samples" string="--samples"/>
|
<clo name="samples" string="--samples"/>
|
||||||
<clo name="print_header" string="--print-header"/>
|
<clo name="print_header" string="--print-header"/>
|
||||||
<clo name="name_length" string="--name-length"/>
|
<clo name="name_length" string="--name-length"/>
|
||||||
<clo name="type_mask" string="--type-mask"/>
|
<clo name="type_mask" string="--type-mask"/>
|
||||||
<clo name="strategy_mask" string="--strategy-mask"/>
|
<clo name="strategy_mask" string="--strategy-mask"/>
|
||||||
|
|
||||||
<file name="eurcut.bff" format="rat" curves="3099"
|
<file name="eurcut.bff" format="rat" curves="3099"
|
||||||
vertices="3078" halfedges="6198" faces="39"></file>
|
vertices="3078" halfedges="6198" faces="39"></file>
|
||||||
|
|
@ -150,7 +150,7 @@
|
||||||
<benchArrCgalGmpqCartesianSegment print_header="1"/>
|
<benchArrCgalGmpqCartesianSegment print_header="1"/>
|
||||||
<benchArrCgalGmpqCartesianSegment/>
|
<benchArrCgalGmpqCartesianSegment/>
|
||||||
<benchArrCgalGmpqLazyCartesianSegment/>
|
<benchArrCgalGmpqLazyCartesianSegment/>
|
||||||
<benchArrCgalGmpqLazyCartesianSegment/>
|
<benchArrCgalGmpqLazySimpleCartesianSegment/>
|
||||||
<benchArrCgalGmpqExactSegment/>
|
<benchArrCgalGmpqExactSegment/>
|
||||||
<benchArrDoubleCartesianSegment enable="false"/>
|
<benchArrDoubleCartesianSegment enable="false"/>
|
||||||
<benchArrLazyCgalGmpqCartesianSegment/>
|
<benchArrLazyCgalGmpqCartesianSegment/>
|
||||||
|
|
|
||||||
|
|
@ -571,7 +571,7 @@ public:
|
||||||
compare_xy_2_object()(p, q, true) != CGAL::EQUAL);
|
compare_xy_2_object()(p, q, true) != CGAL::EQUAL);
|
||||||
// check coprimality condition for supporting curves
|
// check coprimality condition for supporting curves
|
||||||
_check_pt_arcno_and_coprimality(p, -1, c);
|
_check_pt_arcno_and_coprimality(p, -1, c);
|
||||||
_check_pt_arcno_and_coprimality(p, -1, c);
|
_check_pt_arcno_and_coprimality(q, -1, c);
|
||||||
_fix_curve_ends_order();
|
_fix_curve_ends_order();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -234,7 +234,7 @@ void test()
|
||||||
gps.oriented_side(pt);
|
gps.oriented_side(pt);
|
||||||
gps.oriented_side(pgn1);
|
gps.oriented_side(pgn1);
|
||||||
gps.oriented_side(pgn_with_holes1);
|
gps.oriented_side(pgn_with_holes1);
|
||||||
gps.oriented_side(pgn_with_holes1);
|
gps.oriented_side(pgn_with_holes2);
|
||||||
gps.oriented_side(gps);
|
gps.oriented_side(gps);
|
||||||
gps.locate(pt, pgn_with_holes1);
|
gps.locate(pt, pgn_with_holes1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ Compares the \f$ \theta\f$-coordinates of `p` and `q` relatively to `sphere`.
|
||||||
|
|
||||||
\sa \link compare_x_grp `CGAL::compare_x()` \endlink
|
\sa \link compare_x_grp `CGAL::compare_x()` \endlink
|
||||||
\sa \link compare_xy_grp `CGAL::compare_xy()` \endlink
|
\sa \link compare_xy_grp `CGAL::compare_xy()` \endlink
|
||||||
\sa \link compare_xy_grp `CGAL::compare_xy()` \endlink
|
\sa \link compare_xyz_grp `CGAL::compare_xyz()` \endlink
|
||||||
\sa \link compare_x_at_y_grp `CGAL::compare_x_at_y()` \endlink
|
\sa \link compare_x_at_y_grp `CGAL::compare_x_at_y()` \endlink
|
||||||
\sa \link compare_y_grp `CGAL::compare_y()` \endlink
|
\sa \link compare_y_grp `CGAL::compare_y()` \endlink
|
||||||
\sa \link compare_yx_grp `CGAL::compare_yx()` \endlink
|
\sa \link compare_yx_grp `CGAL::compare_yx()` \endlink
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,10 @@ if( NOT CGAL_MACROS_FILE_INCLUDED )
|
||||||
|
|
||||||
macro( cache_set var )
|
macro( cache_set var )
|
||||||
set ( ${var} ${ARGN} CACHE INTERNAL "" )
|
set ( ${var} ${ARGN} CACHE INTERNAL "" )
|
||||||
set ( ${var} ${ARGN} CACHE INTERNAL "" )
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro( typed_cache_set type doc var )
|
macro( typed_cache_set type doc var )
|
||||||
set ( ${var} ${ARGN} CACHE ${type} ${doc} FORCE )
|
set ( ${var} ${ARGN} CACHE ${type} ${doc} FORCE )
|
||||||
set ( ${var} ${ARGN} CACHE ${type} ${doc} FORCE )
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro( cache_get var )
|
macro( cache_get var )
|
||||||
|
|
|
||||||
|
|
@ -537,7 +537,7 @@ struct Test
|
||||||
// point intersection
|
// point intersection
|
||||||
check_intersection (S(p( 0, -1), p( 10, 0)), R(p( 2, 1), p( 8, -6)), P(3.42105, -0.657895));
|
check_intersection (S(p( 0, -1), p( 10, 0)), R(p( 2, 1), p( 8, -6)), P(3.42105, -0.657895));
|
||||||
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 1, 6), p( 1, -3)), P(1, 0));
|
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 1, 6), p( 1, -3)), P(1, 0));
|
||||||
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 1, 6), p( 1, -3)), P(1, 0));
|
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 1, -3), p( 1, 6)), P(1, 0));
|
||||||
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 0, 0), p(-10, 4)), P(0, 0)); // start of ray is exactly on the segment
|
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 0, 0), p(-10, 4)), P(0, 0)); // start of ray is exactly on the segment
|
||||||
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 4, 0), p(-10, 4)), P(4, 0)); // start of ray is a segment extremity
|
check_intersection (S(p( 0, 0), p( 10, 0)), R(p( 4, 0), p(-10, 4)), P(4, 0)); // start of ray is a segment extremity
|
||||||
|
|
||||||
|
|
@ -757,7 +757,7 @@ struct Test
|
||||||
|
|
||||||
// segment intersection
|
// segment intersection
|
||||||
check_intersection<S> (L(p( 18, 6), p( 0, 0)), Rec(p( 2, 0), p(6, 3)));
|
check_intersection<S> (L(p( 18, 6), p( 0, 0)), Rec(p( 2, 0), p(6, 3)));
|
||||||
check_intersection<S> (L(p( 18, 6), p( 0, 0)), Rec(p( 2, 0), p(6, 3)));
|
check_intersection<S> (L(p( 0, 0), p( 18, 6)), Rec(p( 2, 0), p(6, 3)));
|
||||||
check_intersection<S> (L(p( 2, 14), p( 2, -14)), Rec(p( 2, 0), p(6, 3)));
|
check_intersection<S> (L(p( 2, 14), p( 2, -14)), Rec(p( 2, 0), p(6, 3)));
|
||||||
check_intersection<S> (L(p( 6, 1), p( 6, 2)), Rec(p( 2, 0), p(6, 3)));
|
check_intersection<S> (L(p( 6, 1), p( 6, 2)), Rec(p( 2, 0), p(6, 3)));
|
||||||
check_intersection<S> (L(p(-1, 3), p(-2, 3)), Rec(p( 2, 0), p(6, 3)));
|
check_intersection<S> (L(p(-1, 3), p(-2, 3)), Rec(p( 2, 0), p(6, 3)));
|
||||||
|
|
|
||||||
|
|
@ -490,7 +490,7 @@ test_new_2(const R& rep)
|
||||||
|
|
||||||
typename R::Compare_squared_distance_2 compare_sq_dist
|
typename R::Compare_squared_distance_2 compare_sq_dist
|
||||||
= rep.compare_squared_distance_2_object();
|
= rep.compare_squared_distance_2_object();
|
||||||
tmp34ab = compare_sq_dist(p1,p2,FT(1));
|
tmp34ab = compare_sq_dist(p1, p2, FT(1));
|
||||||
tmp34ab = compare_sq_dist(p1, l2, FT(1));
|
tmp34ab = compare_sq_dist(p1, l2, FT(1));
|
||||||
tmp34ab = compare_sq_dist(p2, p1, FT(1));
|
tmp34ab = compare_sq_dist(p2, p1, FT(1));
|
||||||
tmp34ab = compare_sq_dist(l1, l2, FT(1));
|
tmp34ab = compare_sq_dist(l1, l2, FT(1));
|
||||||
|
|
@ -500,7 +500,7 @@ test_new_2(const R& rep)
|
||||||
tmp34ab = compare_sq_dist(t2, l1, FT(1));
|
tmp34ab = compare_sq_dist(t2, l1, FT(1));
|
||||||
|
|
||||||
tmp34ab = CGAL::compare_distance(t2, l1, s1, p1);
|
tmp34ab = CGAL::compare_distance(t2, l1, s1, p1);
|
||||||
tmp34ab = CGAL::compare_distance(t2, l1, s1, p1);
|
tmp34ab = CGAL::compare_distance(t2, l1, p1, s1);
|
||||||
tmp34ab = CGAL::compare_distance(t2, l1, s1);
|
tmp34ab = CGAL::compare_distance(t2, l1, s1);
|
||||||
|
|
||||||
typename R::Compare_power_distance_2 compare_power_dist
|
typename R::Compare_power_distance_2 compare_power_dist
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue