BWAPI
|
#include <Arr_curve_data_traits_2.h>
Public Member Functions | |
Intersect_2 (const Base_traits_2 *_base) | |
template<class OutputIterator > | |
OutputIterator | operator() (const X_monotone_curve_2 &cv1, const X_monotone_curve_2 &cv2, OutputIterator oi) const |
Arr_curve_data_traits_2< Traits_, XMonotoneCurveData_, Merge_, CurveData_, Convert_ >::Intersect_2::Intersect_2 | ( | const Base_traits_2 * | _base | ) | [inline] |
Constructor.
OutputIterator Arr_curve_data_traits_2< Traits_, XMonotoneCurveData_, Merge_, CurveData_, Convert_ >::Intersect_2::operator() | ( | const X_monotone_curve_2 & | cv1, |
const X_monotone_curve_2 & | cv2, | ||
OutputIterator | oi | ||
) | const [inline] |
Find the intersections of the two given curves and insert them to the given output iterator. As two segments may itersect only once, only a single will be contained in the iterator.