mirror of https://github.com/CGAL/cgal
- Add unfinished functor to CompareX_2
operator()( const Segment_2& s1, int i1, const Segment_2& s2, int i2)
This commit is contained in:
parent
3d93887662
commit
b1063edf1b
|
|
@ -1,3 +1,7 @@
|
|||
Version 6.90 (5 June 2003)
|
||||
- Add unfinished functor to CompareX_2
|
||||
operator()( const Segment_2& s1, int i1, const Segment_2& s2, int i2)
|
||||
|
||||
Version 6.89 (2 June 2003)
|
||||
- -DCGAL_NO_DEPRECATED_CODE fixes.
|
||||
|
||||
|
|
|
|||
|
|
@ -538,6 +538,7 @@ namespace CartesianKernelFunctors {
|
|||
{
|
||||
typedef typename K::Point_2 Point_2;
|
||||
typedef typename K::Line_2 Line_2;
|
||||
typedef typename K::Segment_2 Segment_2;
|
||||
public:
|
||||
typedef Comparison_result result_type;
|
||||
typedef Arity_tag< 2 > Arity;
|
||||
|
|
@ -564,6 +565,11 @@ namespace CartesianKernelFunctors {
|
|||
return compare_xC2(l1.a(), l1.b(), l1.c(), h1.a(), h1.b(), h1.c(),
|
||||
l2.a(), l2.b(), l2.c(), h2.a(), h2.b(), h2.c());
|
||||
}
|
||||
|
||||
Comparison_result
|
||||
operator()( const Segment_2& s1, int i1,
|
||||
const Segment_2& s2, int i2) const
|
||||
{ return operator()(s1.vertex(i1), s2.vertex(i2)); }
|
||||
};
|
||||
|
||||
template <typename K>
|
||||
|
|
|
|||
Loading…
Reference in New Issue