API Reference > OdGe Classes > OdGeKnotVector Class > OdGeKnotVector Methods > OdGeKnotVector::getDistinctKnots Method
OdGeKnotVector::getDistinctKnots Method
Syntax
C++
void getDistinctKnots(OdGeDoubleArray& knots, OdGeIntArray * multiplicity = NULL) const;
Parameters 
Description 
OdGeDoubleArray& knots 
[in] Array of knots.  
OdGeIntArray * multiplicity = NULL 
[out] Receives an array of multiplicities (repetitions) of each knot. 

Returns the number of distinct knots. 

 

If consecutive knots are within the knot equality tolerance, the knots are considered identical, and their multiplicities combined.

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