pub fn lower_bspline(
session: &mut LoweringSession<'_>,
id: EntityId,
frame: Transform,
) -> GeometryResult<NodeId>Expand description
Lower an IfcBSplineSurfaceWithKnots into a kernel B-spline patch.
The control net stays row-major in u then v, matching both the IFC
ControlPointsList and the kernel field. A transposed net still evaluates
and still looks like a surface, so the per-direction degrees, knots and
multiplicities are carried through verbatim rather than inferred from the
net’s shape.
WeightsData is present only on the rational subtype. Defaulting absent
weights to 1.0 would turn a polynomial patch into a rational one that
happens to agree, so None is preserved as None.