Main Page   Modules   Namespace List   Compound List   File List   Namespace Members   Compound Members  

Pairwise Intersection Primitives


Modules

do_intersect()
 Return true if two objects intersect.

intersection()
 Return intersection of two objects.


Detailed Description

The pairwise intersection primitives are designed to complement CGAL's existing functions. The following two tables show whether the intersection function is provided by CGAL or by CEP::intersection.

For the function call

  do_intersect(Type1<R> obj1, Type2<R> obj2);
look for Type1 in the first column and Type2 in the top row of the following table. If the corresponding entry says CGAL, then use
  CGAL::do_intersect(obj1,obj2);
If the entry reads CEP, then use
  CEP::intersection::do_intersect(obj1,obj2);

Segment_3 Triangle_3 Ray_3 Line_3 Plane_3

Segment_3 CEP CEP - - -

Triangle_3 - CEP - - CEP

Ray_3 - - - - -

Line_3 - - - - -

Plane_3 CGAL CEP CGAL CGAL CGAL

The following table shows the same information for the overloaded intersection() function.

Segment_3 Triangle_3 Ray_3 Line_3 Plane_3

Segment_3 CEP CEP - - -

Triangle_3 - CEP - - CEP

Ray_3 - - - - -

Line_3 - - - CEP -

Plane_3 CGAL CEP CGAL CGAL CGAL


Generated on Sun Jun 8 17:38:22 2003 for CEP::intersection by doxygen1.3-rc3