getInstance

inline fun <S : Vector<S>, A : GeometricTransformation<S>, F : GeometricShapeFactory<S, A>> getInstance(): F

Retrieves a factory of GeometricShape compatible with the given vector type.

Return

the factory

Parameters

The interface of the factory requested

fun <S : Vector<S>, A : GeometricTransformation<S>, F : GeometricShapeFactory<S, A>> getInstance(type: Class<F>): F

Retrieves a factory of GeometricShape compatible with the given space. (This method is meant for compatibility with java).

Return

the factory

Parameters

The interface of the factory requested
type

The interface of the factory requested