Inserts a knot in the appropriate knot interval as specified by param, and returns a reference to this vector.
Parameters
Parameters
Description
param
[in] Parameter to specify a point on the vector.
Remarks
If the specified point is within the knot equality tolerance of another knot, said knot's multiplicity is incremented.
Will never insert value at position 0 and n-1 if vector's size >= 2. If we have empty vector exception will be thrown. If we have vector with any single value, insertion will be before this one no matter inserted value >, < or = to this value
Example
OdGeKnotVector v{1}; v.insert(5). Result will be {5, 1}. v.insert(10). Result will be {5,10,1}; OdGeKnotVector v; {1, 5, 12, 30}; v.insert(-1); v.insert(50); v.insert(8); Result will be {1, -1, 5, 8, 12, 50, 30};