53[[deprecated(
"Use area_of_triangle() from point.H")]]
61[[deprecated(
"Use points_are_colinear via Point::is_colinear_with()")]]
69[[deprecated(
"Use orientation() from point.H")]]
75[[deprecated(
"Use orientation() from point.H")]]
81[[deprecated(
"Use orientation() from point.H")]]
87[[deprecated(
"Use Segment::intersects_properly_with() from point.H")]]
102[[deprecated(
"Use Point::is_between() from point.H")]]
108[[deprecated(
"Use Segment::intersects_with() from point.H")]]
116[[deprecated(
"Use segments_intersect() from point.H")]]
Represents a point with rectangular coordinates in a 2D plane.
bool is_between(const Point &p1, const Point &p2) const
Checks if this point is on the bounding box of p1 and p2 and is collinear with them.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
Geom_Number area_of_triangle_legacy(const Point &a, const Point &b, const Point &c)
Orientation
Classification of three-point orientation.
Geom_Number area_of_parallelogram(const Point &a, const Point &b, const Point &c)
Compute the signed area of the parallelogram defined by vectors a->b and a->c.
bool points_are_colinear(const Point &a, const Point &b, const Point &c)
bool is_clockwise(const Point &a, const Point &b, const Point &c)
bool segments_intersect(const Segment &s1, const Segment &s2)
Return true if segments s1 and s2 intersect (including endpoints).
and
Check uniqueness with explicit hash + equality functors.
Geom_Number area_of_triangle(const Point &a, const Point &b, const Point &c)
Return the (unsigned) area of triangle (a, b, c) as an exact rational.
bool left_on(const Point &a, const Point &b, const Point &c)
Orientation orientation(const Point &a, const Point &b, const Point &c)
Return the orientation of the triple (a, b, c).
bool c_is_to_left_(const Point &a, const Point &b, const Point &c)
bool intersectp(const Point &a, const Point &b, const Point &c, const Point &d)
bool intersect_improp(const Point &a, const Point &b, const Point &c, const Point &d)
bool between(const Point &a, const Point &b, const Point &c)
bool proper_intersection(const Point &a, const Point &b, const Point &c, const Point &d)
2D point and geometric utilities.