Navigation: Up, Table of Contents, Bibliography, Index, Title Page

3D Intersections

There are some intersection routines for three dimensional objects. These intersections go in the same way as in two dimensions, see Chapter reference arrow.

CGAL_Object CGAL_intersection ( Type1<R> obj1, Type2<R> obj2)

The return value is CGAL_Object. This is a special kind of object that can contain an object of any type.

Here we describe the types that can be contained in the CGAL_Object return value for every possible pair of geometric objects.

type A type B return type
CGAL_Plane_3 CGAL_Line_3
CGAL_Point_3
CGAL_Line_3
CGAL_Plane_3 CGAL_Ray_3
CGAL_Point_3
CGAL_Ray_3
CGAL_Plane_3 CGAL_Segment_3
CGAL_Point_3
CGAL_Segment_3
CGAL_Plane_3 CGAL_Plane_3
CGAL_Line_3
CGAL_Plane_3


Next chapter: The dD Kernel: an Overview
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The CGAL Project. Wed, January 20, 1999.