CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::DoIntersect_3 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableBinaryFunction`

See also
  `Intersection Testing Functions - CGAL::do_intersect()`

## Operations
A model of this concept must provide:
bool | operator() (Type1 obj1, Type2 obj2)
| determines if two geometrical objects of type `Type1` and `Type2` intersect or not, for all pairs `Type1` and `Type2`, where the types `Type1` and `Type2` can be any of the following:

## Member Function Documentation

## ◆ operator()()

bool Kernel::DoIntersect_3::operator() | ( | Type1 | obj1,
|  | Type2 | obj2
| ) |  |

determines if two geometrical objects of type `Type1` and `Type2` intersect or not, for all pairs `Type1` and `Type2`, where the types `Type1` and `Type2` can be any of the following:

- `Kernel::Point_2`
- `Kernel::Plane_3`
- `Kernel::Line_3`
- `Kernel::Ray_3`
- `Kernel::Segment_3`
- `Kernel::Triangle_3`
- `CGAL::Bbox_3`

and also for `Type1` and `Type2` of respective types

- `Kernel::Triangle_3` and `Kernel::Tetrahedron_3`
- `Kernel::Plane_3` and `Kernel::Sphere_3`
- `Kernel::Sphere_3` and `Kernel::Sphere_3`.