Compound

data class Compound(val children: List<Compound.Child>) : Geometry

A shape consisting of multiple already-created sub-Shapes, which can be positioned at different Child.delta offsets to the root compound. Shapes from a Compound can not be a child, and you must provide at least one child.

Parameters

children

The child shapes of this compound. Must not contain Compound shapes and must not be empty.

Constructors

Link copied to clipboard
constructor(children: List<Compound.Child>)

Types

Link copied to clipboard
data class Child(val shape: Shape, val delta: DIso3 = DIso3.identity)

A child in a Compound geometry.

Properties

Link copied to clipboard