Skip to main content

check_multi_point

Function check_multi_point 

Source
pub fn check_multi_point<T: MultiPoint>()
Expand description

Call this in a unit test next to your type definition to surface adaptation errors close to the source rather than at the algorithm call site.

Mirrors boost::geometry::concepts::check<MultiPoint>() driven by boost/geometry/geometries/concepts/multi_point_concept.hpp.

§Examples

use geometry_trait::check_multi_point;
fn _call<M: geometry_trait::MultiPoint>() { check_multi_point::<M>(); }