GeometricShapeFactory

Types

Link copied to clipboard
object Companion

Factory methods for Shape.

Functions

Link copied to clipboard
abstract fun adimensional(): AdimensionalShape<S, A>

A special shape which does not occupy space and does not intersect with any other, not even with itself.

Link copied to clipboard
abstract fun requireCompatible(shape: Shape<*, *>): Shape<S, A>

Requires that the given shape is compatible with the ones provided by this factory, otherwise throws an exception.