Skip to main content

Function: organiseBlueprints()

function organiseBlueprints(blueprints): Blueprints;

Defined in: blueprints/lib.ts:123

Groups an array of blueprints such that blueprints that correspond to holes in other blueprints are set in a CompoundBlueprint.

The current algorithm does not handle cases where blueprints cross each other

Parameters

blueprints

Blueprint[]

Returns

Blueprints