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

CEP::intersection Namespace Reference

Intersection functions not found in CGAL. More...


Functions

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

template<class BoxInIter, class BoxPairOutIter> void Box_d_Box_d_batch_allpair (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, BoxPairOutIter out)
 Test all pairs for intersection.

template<class BoxInIter, class BoxPairOutIter> void Box_d_Box_d_batch_scan (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, BoxPairOutIter out)
 Sort and scan along one axis.

template<class BoxInIter, class BoxPairOutIter> void Box_d_Box_d_batch_stream (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, BoxPairOutIter out)
 Use the streaming approach of Edelsbrunner and Overmars.

template<class BoxInIter, class BoxPairOutIter> void Box_d_Box_d_batch (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, BoxPairOutIter out)
 Use best intersection approach.

template<class BoxInIter, class BoxPairOutIter> void scan_inner (BoxInIter segments_begin, BoxInIter segments_end, BoxInIter points_begin, BoxInIter points_end, int d, BoxPairOutIter out)
template<class BoxInIter, class BoxPairOutIter> void scan_oneway (BoxInIter segments_begin, BoxInIter segments_end, BoxInIter points_begin, BoxInIter points_end, int d, BoxPairOutIter out)
template<class BoxInIter, class BoxPairOutIter> void scan_twoway (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, int d, BoxPairOutIter out)
template<class Box> bool does_contain (const Box &b, typename Box::FT low, typename Box::FT high, int dim)
template<class Box> bool do_intersect (const Box &b, typename Box::FT low, typename Box::FT high, int d)
template<class BoxInIter> void get_interval (BoxInIter begin, BoxInIter end, int d, typename std::iterator_traits< BoxInIter >::value_type::FT &low, typename std::iterator_traits< BoxInIter >::value_type::FT &high)
template<class BoxInIter, class BoxPairOutIter> void stream_inner (BoxInIter segments_begin, BoxInIter segments_end, typename std::iterator_traits< BoxInIter >::value_type::FT low, typename std::iterator_traits< BoxInIter >::value_type::FT high, BoxInIter points_begin, BoxInIter points_end, int d, BoxPairOutIter out)
template<class BoxInIter, class BoxPairOutIter> void stream_outer (BoxInIter begin1, BoxInIter end1, BoxInIter begin2, BoxInIter end2, int d, BoxPairOutIter out)
template<class BoxInIter> std::iterator_traits< BoxInIter
>::value_type::FT 
approximate_median (BoxInIter begin, int size, int d)
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> Object make_object_nondegenerate (const Segment_3< R > &s)
template<class R> Object make_object_nondegenerate (const Triangle_3< R > &T)
template<class R> Object make_object_nondegenerate (const Object &obj)
template<class R> CGAL::Object intersection (const Plane_3< R > &plane, const Triangle_3< R > &triangle)
 Compute intersection of plane and triangle.

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, class InputIterator, class OutputIterator> void slice (InputIterator points_begin, InputIterator points_end, const CGAL::Line_2< R > &l, OutputIterator left_chain, OutputIterator right_chain)
 Slice a convex polygon into two pieces with a line.

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> CGAL::Object intersection (const Segment_3< R > &s, const Point_3< R > &p)
 Compute the point of intersection.

template<class R> bool collinear (const Segment_3< R > &s, const Point_3< R > &p)
 True if the point is collinear with the segment.

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

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

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

template<class R> CGAL::Object collinear_intersection (const Segment_3< R > &seg1, const Segment_3< R > &seg2)
 Returns the point or segment of intersection.

template<class R> CGAL::Object intersection (const Segment_3< R > &s1, const Segment_3< R > &s2)
 Returns the point or segment of intersection.

template<class R> bool coplanar_do_intersect (const Segment_3< R > &segment, const Triangle_3< R > &triangle)
 True if the segment and triangle intersect.

template<class R> CGAL::Object coplanar_intersection (const Segment_3< R > &segment, const Triangle_3< R > &T)
 Returns the point or segment of intersection.

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

template<class R> CGAL::Object intersection (const Segment_3< R > &segment, const Triangle_3< R > &T)
 Returns the point or segment of intersection.

template<class R> CGAL::Object intersection (const CGAL::Triangle_3< R > &triangle, const CGAL::Plane_3< R > &plane)
 Compute intersection of triangle and plane.

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 coplanar_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 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.

template<class R> CGAL::Object intersection (const Triangle_3< R > &T1, const Triangle_3< R > &T2)
 Compute intersection of triangles T1 and T2.


Variables

int base_case_threshold = 5000


Detailed Description

Intersection functions not found in CGAL.

This namespace contains functions that test whether geometric objects intersect and functions that compute the intersection of two objects.


Function Documentation

template<class R>
CGAL::Object CEP::intersection::intersection (  const Segment_3< R > &    segment,
const Triangle_3< R > &    triangle
) 
 

Returns the point or segment of intersection.

Precondition:
T is not degenerate

Definition at line 176 of file Segment_3_Triangle_3.C.

References coplanar_intersection(), and intersection().

template<class R, class InputIterator, class OutputIterator>
void CEP::intersection::slice (  InputIterator    points_begin,
InputIterator    points_end,
const CGAL::Line_2< R > &    l,
OutputIterator    left_chain,
OutputIterator    right_chain
) 
 

Slice a convex polygon into two pieces with a line.

Parameters:
InputIterator an input iterator from a container with elements of Point_2.
OutputIterator an output iterator from a container with elements of Point_2.
The input polygon consists of the sequence [points_begin,points_end). The input polygon should be convex; this is not currently checked for.

Precondition:
Input polygon is not empty.

Definition at line 21 of file Polygon_2_Line_2.C.

References intersection().


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