Package-level declarations

Types

Link copied to clipboard
class Cylinder @JvmOverloads constructor(val position: Point = Point.ORIGIN, val radius: Double = 1.0, val height: Double = 1.0, val vertices: Int = 20) : Shape

A cylindrical shape created by extruding a circular cross-section along the z-axis.

Link copied to clipboard
class Knot(val position: Point = Point.ORIGIN) : Shape

A knot shape composed of interlocking prisms and custom faces.

Link copied to clipboard
class Octahedron(val position: Point = Point.ORIGIN) : Shape

An octahedron (8-faced polyhedron) inscribed in a unit cube.

Link copied to clipboard
class Prism @JvmOverloads constructor(val position: Point = Point.ORIGIN, val width: Double = 1.0, val depth: Double = 1.0, val height: Double = 1.0) : Shape

A rectangular prism (box) shape composed of six quad faces.

Link copied to clipboard
class Pyramid @JvmOverloads constructor(val position: Point = Point.ORIGIN, val width: Double = 1.0, val depth: Double = 1.0, val height: Double = 1.0) : Shape

A pyramid shape with a rectangular base tapering to an apex.

Link copied to clipboard
class Stairs @JvmOverloads constructor(val position: Point = Point.ORIGIN, val stepCount: Int) : Shape

A staircase shape whose steps are distributed within a 1x1x1 bounding box.