Companion

object Companion

Functions

Link copied to clipboard
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.

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).