Companion
Functions
Link copied to clipboard
inline fun <S : Vector<S>, A : GeometricTransformation<S>, F : GeometricShapeFactory<S, A>> getInstance(): F
Content copied to clipboard
Retrieves a factory of GeometricShape compatible with the given vector type.
fun <S : Vector<S>, A : GeometricTransformation<S>, F : GeometricShapeFactory<S, A>> getInstance(type: Class<F>): F
Content copied to clipboard
Retrieves a factory of GeometricShape compatible with the given space. (This method is meant for compatibility with java).