Skip to main content

bspline_surface_with_knots

Function bspline_surface_with_knots 

Source
pub fn bspline_surface_with_knots(
    tx: &mut Transaction,
    control_points: &[&[EntityId]],
    basis: SurfaceBasis<'_>,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcBSplineSurfaceWithKnots.

control_points is indexed [u][v]: the outer list runs along u, matching ControlPointsList in the schema.

ยงErrors

Refuses a degree below one in either direction, a control grid with fewer than two rows or columns, a ragged grid, non-increasing or non-positive knot data, or either knot identity broken: sum(UMultiplicities) = UDegree + rows + 1, and likewise for v.