requireCompatible
Requires that the given shape is compatible with those provided by this factory; otherwise throws an exception.
Return
the same shape if compatible.
Parameters
shape
the shape to check.
Requires that the given shape is compatible with those provided by this factory; otherwise throws an exception.
the same shape if compatible.
the shape to check.