Depending on which Cgal kernel is used, Type1 and Type2 can be of different types.
With the basic 2D and 3D Kernel (see Chapter 11)
#include <CGAL/intersections.h>
The types Type1 and Type2 can be any of the following:
Also, Type1 and Type2 can be both of type
In three-dimensional space, the types Type1 and Type2 can be any of the following:
Also, Type1 and Type2 can be respectively of types
With the 2D Circular Kernel (see Chapter 13)
#include <CGAL/Circular_kernel_intersections.h>
If this kernel is used, in addition to the combinations of 2D types previously listed, Type1 and Type2 can be any of the following:
An example illustrating this is presented in Chapter 13.
With the 3D Spherical Kernel (see Chapter 14)
#include <CGAL/Spherical_kernel_intersections.h>
If this kernel is used, in addition to the combinations of 3D types previously listed, Type1 and Type2 can be any of the following:
An example illustrating this is presented in Chapter 14.
Also, another predicate is provided with this kernel:
bool | do_intersect ( Type1 obj1, Type2 obj2, Type3 obj3) | |
checks whether obj1, obj2 and obj3 intersect. |
where Type1, Type2 and Type3 can be: