Expand description
Construct a Point / Box / Segment from a coordinate slice.
Mirrors boost::geometry::make<P>(values...) and its
make<Box> / make<Segment> siblings from
boost/geometry/algorithms/make.hpp. The counterpart of
crate::assign::assign_values: same contract but
returns a fresh value instead of writing into an existing one. The
Boost overloads are variadic; the Rust port takes a slice for
arity-agnostic ergonomics (see crate::assign for the
trade-off).
Functions§
- make_
box - Construct a
Boxfrom two corner coordinate slices. - make_
point - Construct a
PointMutfrom a slice of coordinates. - make_
segment - Construct a
Segmentfrom two endpoint coordinate slices.