pub trait Center {
// Required method
fn center(&self) -> PointArray;
}
Expand description
Compute the center of geometries
This first computes the axis-aligned bounding rectangle, then takes the center of that box
pub trait Center {
// Required method
fn center(&self) -> PointArray;
}
Compute the center of geometries
This first computes the axis-aligned bounding rectangle, then takes the center of that box