PathPairing

interface PathPairing

Determines how the paths from one Shape2d are mapped to the paths in another Shape2d. Used by Worm to guess how to join to complex shapes (i.e. shapes with holes, or with more than one simple shape)

Inheritors

Functions

Link copied to clipboard
abstract fun pair(a: Shape2d, b: Shape2d): Map<Path2d, Path2d>