CGAL 4.12 - 3D Spherical Geometry Kernel
SphericalKernel::Equal_3 Concept Reference

## Definition

Testing equality between objects.

Refines:
Kernel::Equal_3
SphericalKernel::CompareX_3
SphericalKernel::CompareY_3
SphericalKernel::CompareZ_3
SphericalKernel::CompareXY_3
SphericalKernel::CompareXYZ_3

## Operations

An object of this type must provide in addition:

bool operator() (const SphericalKernel::Circular_arc_point_3 &p0, const SphericalKernel::Circular_arc_point_3 &p1)
For two points.

bool operator() (const SphericalKernel::Circular_arc_3 &a0, const SphericalKernel::Circular_arc_3 &a1)
For two arcs. More...

bool operator() (const SphericalKernel::Line_arc_3 &a0, const SphericalKernel::Line_arc_3 &a1)
For two segments. More...

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

 bool SphericalKernel::Equal_3::operator() ( const SphericalKernel::Circular_arc_3 & a0, const SphericalKernel::Circular_arc_3 & a1 )

For two arcs.

Two arcs are equal, iff their non-oriented supporting planes are equal, and the centers and squared radii of their respective supporting circles are equal, and their sources and targets are equal.

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

 bool SphericalKernel::Equal_3::operator() ( const SphericalKernel::Line_arc_3 & a0, const SphericalKernel::Line_arc_3 & a1 )

For two segments.

Two segments are equal, iff their non-oriented supporting lines are equal (i.e. they define the same set of points), and their endpoints are the same.