AbstractShapeFactory

Base class for Transformation providing a standard implementation for GeometricShapeFactory.adimensional.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override 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.