deserializeCurve

Parses a parameter string to a Curve type.

Signatures

  •   Paramate.Configurator.deserializeCurve( str )

Example

 const curve = Paramate.Configurator.deserializeCurve('<[0,0,0]>->bezier(<[1,0,0]>,<[1,1,0]>,<[0,0,1]>)');
 

Parameters

str

String that must contain the string representation of a paramate curve.

Return value

An object of type Curve containing the value content of str or 'undefined' if the parsing was not successful.

See also