CGAL 4.7 - 2D Polygon Partitioning
|
Requirements of a traits class to be used with the function y_monotone_partition_2()
.
Types | |
In addition to the types defined for the concept | |
typedef unspecified_type | Line_2 |
typedef unspecified_type | Compare_x_at_y_2 |
Predicate object type that provides CGAL::Comparision_result operator()(Point_2 p, Line_2 h) to compare the \( x\) coordinate of p and the horizontal projection of p on h . More... | |
typedef unspecified_type | Construct_line_2 |
Function object type that provides Line_2 operator()(Point_2 p, Point_2 q) , which constructs and returns the line defined by the points \( p\) and \( q\). More... | |
typedef unspecified_type | Is_horizontal_2 |
Function object type that provides bool operator()(Line_2 l) , which returns true iff the line l is horizontal. More... | |
Creation | |
YMonotonePartitionTraits () | |
YMonotonePartitionTraits (const YMonotonePartitionTraits tr) | |
Operations | |
In addition to the functions required for the concept | |
Construct_line_2 | construct_line_2_object () |
Compare_x_at_y_2 | compare_x_at_y_2_object () |
Is_horizontal_2 | is_horizontal_2_object () |
Predicate object type that provides CGAL::Comparision_result operator()(Point_2 p, Line_2 h)
to compare the \( x\) 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 \( p\) and \( q\).
Function object type that provides bool operator()(Line_2 l)
, which returns true
iff the line l
is horizontal.
Compare_x_at_y_2 YMonotonePartitionTraits_2::compare_x_at_y_2_object | ( | ) |
Construct_line_2 YMonotonePartitionTraits_2::construct_line_2_object | ( | ) |
Is_horizontal_2 YMonotonePartitionTraits_2::is_horizontal_2_object | ( | ) |
YMonotonePartitionTraits_2::YMonotonePartitionTraits | ( | ) |
YMonotonePartitionTraits_2::YMonotonePartitionTraits | ( | const YMonotonePartitionTraits | tr | ) |