middle
The middle of the axis aligned bounding box (from corner and size). This may differ from the middle according to paths's points. For example, consider a circle with a chunk cut out of it :
val myShape = Circle(1) - Square( 10, 0.5 ).centerY()
Content copied to clipboard
We humans can tell that the middle is left of (0.0), but FooCAD cannot. However, if we convert the result to a Polygon, then middle will be based on the actual points. i.e.
myShape.middle != myShape.toPolygon().middle
Content copied to clipboard