getInstance

Retrieves a factory of Shape compatible with the given vector and transformation types.

Return

an instance of the requested factory interface F.

Type Parameters

S

The type of vector used.

A

The supported geometric transformations.

F

The factory interface requested.


Retrieves a factory of Shape compatible with the given space (Java-friendly overload).

Return

an instance of the requested factory interface F.

Parameters

type

the Class object representing the requested factory interface.

Type Parameters

S

The type of vector used.

A

The supported geometric transformations.

F

The factory interface requested.