Function centering_transformation

Source
pub fn centering_transformation(shape: &SPolygon) -> DTransformation
Expand description

Returns a transformation that translates the shape’s centroid to the origin.