Traits::Point_2
|
|
The point type on which the convex hull functions operate.
|
|
Traits::Less_xy
|
|
Binary predicate object type comparing Point_2s
lexicographically.
Must provide bool operator()(Point_2 p, Point_2 q) where
true
is returned iff .
We have , iff or and ,
where and denote and coordinate of point resp.
|
|
Traits::Less_yx
|
|
Same as Less_xy with the roles of and interchanged.
|
|
Traits::Leftturn
|
|
Predicate object type. Must provide
bool operator()(Point_2 p,Point_2 q,Point_2 r), which
returns true iff r lies to the left of the
oriented line through p and q.
|
|
Traits::Rightturn
|
|
Predicate object type. Must provide
bool operator()(Point_2 p,Point_2 q,Point_2 r), which
returns true iff r lies to the right of the
oriented line through p and q.
|
|
Traits::Right_of_line
|
|
Unary predicate object type.
Must provide a constructor taking two Point_2 s and
and bool operator()(Point_2 r), which returns true iff
lies right of the directed line through and .
|
|
Traits::Less_dist_to_line
|
|
Binary predicate object type. Must provide a constructor taking
two Point_2s and and
bool operator()(Point_2 r,Point_2 s), which returns true iff
the signed distance of to the line through and
is smaller as the the distance of to . It is used to
compute the point right of a line with maximum unsigned distance to
the line. The binary predicate must provide a total order compatible
to convexity, i.e. for any line segment one of the endpoints of
is the smallest point among the points on , with respect to
the order given by Less_dist_to_line.
|
|
Traits::Less_rotate_ccw
|
|
Binary predicate object type. Must provide a constructor taking a
Point_2 and bool operator()(Point_2 p,Point_2 q),
where true is returned iff a tangent at to the point set
hits before when rotated counterclockwise around .
Ties are broken such that the point with larger distance to
is smaller!
|
Only default and copy constructor are required.
The following member functions to create instances of the above predicate
object types must exist. These member functions forward their
arguments to the constructors of the corresponding predicate classes.