pub enum Method {
None,
Disjoint,
Crosses,
Touch,
TouchInterior,
Collinear,
Equal,
Start,
Error,
}Expand description
How a turn was formed — the case the segment-intersection classification decided.
Mirrors method_type in
boost/geometry/algorithms/detail/overlay/turn_info.hpp:29-40.
Variants§
None
No method assigned yet. Boost’s method_none.
Disjoint
The segments do not actually meet. Boost’s method_disjoint.
Crosses
A proper crossing — the two segments cross transversally.
Boost’s method_crosses.
Touch
The segments touch at an endpoint of one of them, from outside.
Boost’s method_touch.
TouchInterior
One segment’s endpoint touches the interior of the other.
Boost’s method_touch_interior.
Collinear
The segments are collinear and overlap. Boost’s
method_collinear.
Equal
The segments are equal. Boost’s method_equal.
Start
A start turn used to seed traversal. Boost’s method_start.
Error
An inconsistent turn the classifier could not resolve. Boost’s
method_error.