getInstance
inline fun <S : Vector<S>, A : Transformation<S>, F : GeometricShapeFactory<S, A>> getInstance(): F(source)
Retrieves a factory of Shape compatible with the given vector type.
Return
the factory
Parameters
fun <S : Vector<S>, A : Transformation<S>, F : GeometricShapeFactory<S, A>> getInstance(type: Class<F>): F(source)
Retrieves a factory of Shape compatible with the given space. (This method is meant for compatibility with java).
Return
the factory
Parameters
type
The interface of the factory requested