Geometric Shape Factory
interface GeometricShapeFactory<S : Vector<S>, A : GeometricTransformation<S>> : Serializable
Content copied to clipboard
Generic factory for GeometricShape.
Types
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.