pub fn centering_transformation(shape: &SPolygon) -> DTransformation
Expand description
Returns a transformation that translates the shape’s centroid to the origin.
pub fn centering_transformation(shape: &SPolygon) -> DTransformation
Returns a transformation that translates the shape’s centroid to the origin.