intersection

open override fun intersection(other: Shape2d?): Intersection2d

Combines this shape and the other shape, such that only the places that the two shapes overlap are present in the result.

There is a div operator which does exactly the same as this.

NOTE paths are not available for the intersection.

If other == null, then this is returned.