RandomBinarySplitter

class RandomBinarySplitter(    val enclosement: IntRectangle,     val invert: Boolean = true,     val constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true }) : Splitter

Constructors

Link copied to clipboard
fun RandomBinarySplitter(    enclosement: IntRectangle,     invert: Boolean = true,     constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true })

Functions

Link copied to clipboard
open override fun split(node: PackNode, rectangle: IntRectangle): List<PackNode>

Properties

Link copied to clipboard
val constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean
Link copied to clipboard
val enclosement: IntRectangle
Link copied to clipboard
val invert: Boolean = true

Sources

Link copied to clipboard