Requirements of a traits class to be used with the function y_monotone_partition_2.
In addition to the types defined for the concept PartitionTraits_2, the following types are also required:
| |
| |
Predicate object type that provides
CGAL::Comparision_result operator()(Point_2 p, Line_2 h) to compare
the coordinate of p and the horizontal projection of p
on h.
| |
| |
Function object type that provides
Line_2 operator()(Point_2 p, Point_2 q), which constructs and
returns the line defined by the points and .
| |
| |
Function object type that provides
bool operator()(Line_2 l), which returns true iff the
line l is horizontal.
|
A copy constructor and default constructor are required.
| |
|
In addition to the functions required for the concept PartitionTraits_2, the following functions that create instances of the above function object types must exist.
|
|
|
|
|
|
|
|