-
- All Implemented Interfaces:
public class GeometricShapeFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static GeometricShapeFactory.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final <S extends Vector<S>, A extends GeometricTransformation<S>, F extends GeometricShapeFactory<S, A>> FgetInstance()Retrieves a factory of GeometricShape compatible with the given vector type. final <S extends Vector<S>, A extends GeometricTransformation<S>, F extends GeometricShapeFactory<S, A>> FgetInstance(Class<F> type)Retrieves a factory of GeometricShape compatible with the given space. -
-
Method Detail
-
getInstance
final <S extends Vector<S>, A extends GeometricTransformation<S>, F extends GeometricShapeFactory<S, A>> F getInstance()
Retrieves a factory of GeometricShape compatible with the given vector type.
-
getInstance
final <S extends Vector<S>, A extends GeometricTransformation<S>, F extends GeometricShapeFactory<S, A>> F getInstance(Class<F> type)
Retrieves a factory of GeometricShape compatible with the given space. (This method is meant for compatibility with java).
- Parameters:
type- The interface of the factory requested
-
-
-
-