CenteredBinarySplitter

class CenteredBinarySplitter(enclosement: IntRectangle, invert: Boolean = true, constraints: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true }, xcon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true }, ycon: (node: PackNode, rectangle: IntRectangle) -> Boolean = { _, _ -> true }) : Splitter(source)

Constructors

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

Functions

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