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

do_intersect()
[Pairwise Intersection Primitives]

Return true if two objects intersect. More...


Modules

collinear_do_intersect()
 Return true if two collinear objects intersect.

coplanar_do_intersect()
 Return true if two coplanar objects intersect.


Functions

template<class Box> bool do_intersect (const Box &b1, const Box &b2)
 True if the boxes intersect.

template<class R> bool do_intersect (const CGAL::Iso_cuboid_3< R > &c1, const CGAL::Iso_cuboid_3< R > &c2)
 True if the cuboids intersect.

template<class R> bool do_intersect (const Plane_3< R > &plane, const Triangle_3< R > &triangle)
 True if the plane and triangle intersect.

template<class R> bool do_intersect (const Segment_3< R > &s, const Point_3< R > &p)
 True if point p lies on the segment s.

template<class R> bool do_intersect (const Segment_3< R > &s1, const Segment_3< R > &s2)
 True if the segments intersect.

template<class R> bool do_intersect (const CGAL::Triangle_3< R > &triangle, const CGAL::Plane_3< R > &plane)
 True if the plane and triangle intersect.

template<class R> bool do_intersect (const CGAL::Triangle_3< R > &triangle, const CGAL::Point_3< R > &point)
 True if point lies on triangle.

template<class R> bool do_intersect (const Triangle_3< R > &T1, const Triangle_3< R > &T2)
 True if triangles T1 and T2 intersect.


Detailed Description

Return true if two objects intersect.


Function Documentation

template<class R>
bool do_intersect (  const CGAL::Triangle_3< R > &    triangle,
const CGAL::Point_3< R > &    point
)  [inline]
 

True if point lies on triangle.

Precondition:
The triangle is not degenerate.

Definition at line 43 of file Triangle_3_Point_3.h.

References CEP::intersection::coplanar_do_intersect().

template<class R>
bool do_intersect (  const CGAL::Triangle_3< R > &    triangle,
const CGAL::Plane_3< R > &    plane
)  [inline]
 

True if the plane and triangle intersect.

Returns:
True if the plane intersects triangle.

Definition at line 35 of file Triangle_3_Plane_3.h.

References CEP::intersection::do_intersect().

template<class R>
bool do_intersect (  const Plane_3< R > &    plane,
const Triangle_3< R > &    triangle
)  [inline]
 

True if the plane and triangle intersect.

Returns:
True if the plane intersects triangle.

Definition at line 62 of file Plane_3_Triangle_3.h.

References CEP::intersection::do_intersect().


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