Expand description
append(&mut g, point) and the ring-index variant.
Mirrors boost::geometry::append from
boost/geometry/algorithms/append.hpp. Boost ships a single
overloaded append(...) that dispatches on the source geometry
kind; the Rust port uses two free functions — append for the
common linear cases and append_to_ring for the polygon
ring-index overload — so each call site disambiguates without a
defaulted argument (which Rust methods cannot express).
Functions§
- append
- Push
pointto the end of aLinestringorRing. - append_
to_ ring - Push
pointonto the polygon’s outer ring (ring_index = None) or itsring_index-th interior ring (ring_index = Some(i)).