splinepy.helpme.create.embedded#

splinepy.helpme.create.embedded(spline, new_dimension)[source]#

Embeds Spline in given dimension. If dim > current_dim, it will add zeros columns to the control points. If dim < current_dim, it takes first n-columns of the control points. If dim == current_dim, it returns a copy.

Parameters:
  • spline (Spline) – (self-argument if called via extract member of a spline)

  • new_dimension (integer) – new physical dimension into which the spline control points will be set

Returns:

embedded_spline

Return type:

Spline