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

coplanar_intersection()
[intersection()]

Return intersection of two coplanar objects. More...

Functions

template<class R> CGAL::Object coplanar_nonparallel_intersection (const Point_3< R > &p, const Point_3< R > &q, const Point_3< R > &r, const Point_3< R > &s)
 Compute intersection of line through (p,q) and line through (r,s).

template<class R> CGAL::Object coplanar_intersection (const Point_3< R > &p, const Point_3< R > &q, const Point_3< R > &r, const Point_3< R > &s)
 Compute intersection of line through (p,q) and line through (r,s).

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> CGAL::Object coplanar_intersection (const Plane_3< R > &P, const Triangle_3< R > &T1, const Triangle_3< R > &T2)
 Compute intersection of triangles T1 and T2.


Detailed Description

Return intersection of two coplanar objects.


Function Documentation

template<class R>
CGAL::Object CEP::intersection::Triangle_3_Triangle_3::coplanar_intersection (  const Plane_3< R > &    P,
const Triangle_3< R > &    T1,
const Triangle_3< R > &    T2
) 
 

Compute intersection of triangles T1 and T2.

The intersection result can be either empty, a point, a line segment, a triangle, or a list of four or more points representing a polygon on the plane. In the latter case, the return value is of type std::vector<Point_3>.

Precondition:
Triangle T1 lies in plane P.

Triangle T2 lies in plane P.

Definition at line 259 of file Triangle_3_Triangle_3.C.

Referenced by CEP::intersection::coplanar_intersection(), and CEP::intersection::Triangle_3_Triangle_3::intersection().

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

Returns the point or segment of intersection.

Precondition:
T is not degenerate

segment is coplanar with T

Definition at line 59 of file Segment_3_Triangle_3.C.

References CEP::intersection::Triangle_3_Triangle_3::coplanar_intersection().

Referenced by CEP::intersection::intersection().

template<class R>
CGAL::Object CEP::intersection::Line_3_Line_3::coplanar_intersection (  const Point_3< R > &    p,
const Point_3< R > &    q,
const Point_3< R > &    r,
const Point_3< R > &    s
) 
 

Compute intersection of line through (p,q) and line through (r,s).

Precondition:
Points p,q,r, and s are coplanar.
Returns:
intersection of line through (p,q) and line through (r,s).

Definition at line 53 of file Line_3_Line_3.C.

References CEP::intersection::Line_3_Line_3::coplanar_nonparallel_intersection().

template<class R>
CGAL::Object CEP::intersection::Line_3_Line_3::coplanar_nonparallel_intersection (  const Point_3< R > &    p,
const Point_3< R > &    q,
const Point_3< R > &    r,
const Point_3< R > &    s
) 
 

Compute intersection of line through (p,q) and line through (r,s).

Precondition:
Points p,q,r, and s are coplanar.

Line through (p,q) and line through (r,s) are not parallel.

Returns:
intersection of line through (p,q) and line through (r,s).

Definition at line 20 of file Line_3_Line_3.C.

Referenced by CEP::intersection::Line_3_Line_3::coplanar_intersection().


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