splinepy.helpme.integrate.volume#
- splinepy.helpme.integrate.volume(spline, orders=None)[source]#
Compute volume of a given spline
Uses quadrature to compute volume. Can handle patches with multiple elements.
- Parameters:
spline (Spline) – (self if called via integrator) The spline object for which the volume is computed.
orders (array-like (optional)) – order for gauss quadrature
- Returns:
volume – The computed volume of the spline
- Return type:
float