API Reference > OdGe Classes > OdGeKnotVector Class > OdGeKnotVector Methods > OdGeKnotVector::getInterval Method
OdGeKnotVector::getInterval Method
Syntax
C++
int getInterval(int order, double param, OdGeInterval& interval) const;
Parameters 
Description 
int order 
[in] The order of the spline.  
double param 
[in] Parameter to specify a point on the vector.  
OdGeInterval& interval 
[out] Receives the interval containing the point specified by param. 

Returns the knot interval, and the index of the knot interval, containing the point specified by param. 

 

param must lie between the knot values indexed by order -1 and length() - order, where order is the order of the spline.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.