Copying the Guiding Curve of a Sweep Body

The function

MbCurve3D *TrimClosedSpine( const MbCurve3D & curve,
                                  double      t )

constructs a copy of a closed curve with the start point defined by the parameter t.

The input parameters of the function are:

  • curve — the guiding curve;

  • t — the curve parameter.

If successful, the function returns the constructed copy of the curve with the start point at the given parameter value; otherwise, it returns null.

The function is auxiliary for the EvolutionSolid() and EvolutionResult() functions.