splinepy.spline.RequiredProperties.of#

classmethod RequiredProperties.of(spline)[source]#

Wrapper of __call__ and __getitem__ as classmethod.

Parameters:

spline (Spline or str)

Returns:

required_spline_properties

Return type:

list

Examples

>>> myspline = NURBS(...)
>>> requirements = RequiredSplineProperties.of(myspline)
>>> requirements
['degrees', 'knot_vectors', 'control_points', 'weights']