Abstract Shape Factory
abstract class AbstractShapeFactory<S : Vector<S>, A : GeometricTransformation<S>> : GeometricShapeFactory<S, A>
Content copied to clipboard
Base class for GeometricTransformation providing a standard implementation for GeometricShapeFactory.adimensional.
Constructors
Functions
Link copied to clipboard
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: GeometricShape<*, *>): GeometricShape<S, A>
Content copied to clipboard
Requires that the given shape is compatible with the ones provided by this factory, otherwise throws an exception.