pub trait ToPoints<M: Clone + Default> {
// Required method
fn to_points(&self) -> VectorMultiPoint<M>;
}Expand description
Convert any geometry shape to a VectorMultiPoint
This trait is implemented for:
FeatureGeometryPointGeometryMultiPointGeometryMultiLineStringGeometryMultiPolygonGeometryPoint3DGeometryMultiPoint3DGeometryMultiLineString3DGeometryMultiPolygon3DGeometryVectorFeatureVectorGeometryVectorPointGeometryVectorMultiPointGeometryVectorMultiLineStringGeometryVectorMultiPolygonGeometryVectorMultiPointVectorMultiLineStringVectorMultiPolygon
And all specific geometries of the above enums
Required Methods§
Sourcefn to_points(&self) -> VectorMultiPoint<M>
fn to_points(&self) -> VectorMultiPoint<M>
Convert any geometry shape to a VectorMultiPoint