HeuristicPairing

A heuristic, which makes a "best effort" to join the two shapes in a "pleasing" manner, avoiding twists, and broken extrusions where possible.

This is the default VertexPairing.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun pairPoints(shapeA: List<Vector2>, shapeB: List<Vector2>): List<Pair<Int, Int>>

Returns a list of edges, which should be ordered clockwise.