## "Fossies" - the Fresh Open Source Software Archive

### Member "doc_html/Kernel_23/classKernel_1_1CompareDistance__2.html" (8 Nov 2019, 15288 Bytes) of package /linux/misc/CGAL-4.14.2-doc_html.tar.xz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the CGAL-4.14.2-doc_html.tar.xz project site itself.

 CGAL 4.14.2 - 2D and 3D Linear Geometry Kernel
Kernel::CompareDistance_2 Concept Reference

## Definition

Kernel::CompareSquaredDistance_2
CGAL::compare_distance_to_point()
CGAL::compare_squared_distance()
Refines:
AdaptableFunctor (with three arguments)

## Operations

A model of this concept must provide:

Comparison_result operator() (const Type1 &obj1, const Type2 &obj2, const Type3 &obj3)
compares the squared distance between obj1 and obj2 to the squared distance between obj1 and obj3, for all triples of types Type1, Type2 andType3 in the following set of types: More...

Comparison_result operator() (const Type1 &obj1, const Type2 &obj2, const Type3 &obj3, const Type4 &obj4)
compares the squared distance between obj1 and obj2 to the squared distance between obj3 and obj4, for all tuples of types Type1, Type2, Type3 and Type4 in the following set of types: More...

## ◆ operator()() [1/2]

 Comparison_result Kernel::CompareDistance_2::operator() ( const Type1 & obj1, const Type2 & obj2, const Type3 & obj3 )

compares the squared distance between obj1 and obj2 to the squared distance between obj1 and obj3, for all triples of types Type1, Type2 andType3 in the following set of types:

• Kernel::Point_2
• Kernel::Line_2
• Kernel::Ray_2
• Kernel::Segment_2
• Kernel::Triangle_2

## ◆ operator()() [2/2]

 Comparison_result Kernel::CompareDistance_2::operator() ( const Type1 & obj1, const Type2 & obj2, const Type3 & obj3, const Type4 & obj4 )

compares the squared distance between obj1 and obj2 to the squared distance between obj3 and obj4, for all tuples of types Type1, Type2, Type3 and Type4 in the following set of types:

• Kernel::Point_2
• Kernel::Line_2
• Kernel::Ray_2
• Kernel::Segment_2
• Kernel::Triangle_2