Get the inner radius of a shape.
Returns the radius of the biggest sphere that fits entirely in the shape.
For shapes with multiple sub-shapes, returns the smallest inner radius of the parts.
This can be used as a measure of how far the shape can be moved without risking going through geometry.
Note: This is calculated on-demand, not cached. For performance-critical paths,
consider caching the result if calling repeatedly on the same shape.
Get the inner radius of a shape. Returns the radius of the biggest sphere that fits entirely in the shape. For shapes with multiple sub-shapes, returns the smallest inner radius of the parts. This can be used as a measure of how far the shape can be moved without risking going through geometry.
Note: This is calculated on-demand, not cached. For performance-critical paths, consider caching the result if calling repeatedly on the same shape.