Sync changes from upstream repository

Co-authored-by: David Eränen <david.eranen@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
Bozo The Builder
2023-02-27 12:29:30 -08:00
parent 383611e2f5
commit 60f8f82f2f
130 changed files with 1267 additions and 1186 deletions

View File

@@ -99,11 +99,11 @@ public:
Parameters:
other - [in] other NURBS curve
bIgnoreParameterization - [in] if true, parameterization
and orientaion are ignored.
and orientation are ignored.
tolerance - [in] tolerance to use when comparing
control points.
Returns:
true if curves are tne same.
true if curves are the same.
*/
bool IsDuplicate(
const ON_NurbsCurve& other,
@@ -720,7 +720,7 @@ public:
Returns:
ON_DBL_QNAN: no bezier surface is returned.
If a bezier surface is returned, then the maximum deviation between
the bezier suface this NURBS surface sampled at the Greville abcissa.
the bezier surface this NURBS surface sampled at the Greville abcissa.
*/
double GetCubicBezierApproximation(
double max_deviation,
@@ -980,7 +980,7 @@ public:
// Description:
// Clamp end knots. Does not modify the curve location, but can modify
// knots and control verticies near the ends.
// knots and control vertices near the ends.
// Parameters:
// end - [in] 0 = clamp start, 1 = clamp end, 2 = clamp start and end
// Returns:
@@ -1026,7 +1026,7 @@ public:
/*
Returns:
If this class is managing m_cv, then CVCapacity() is the number of doubles
m_cv[] can accomodate. Otherwise, CVCapacity() is 0.
m_cv[] can accommodate. Otherwise, CVCapacity() is 0.
*/
int CVCapacity() const;
@@ -1037,13 +1037,13 @@ public:
/*
Returns:
If this class is managing m_knot, then KnotCapacity() is the number of doubles
m_knot[] can accomodate. Otherwise, KnotCapacity() is 0.
m_knot[] can accommodate. Otherwise, KnotCapacity() is 0.
*/
int KnotCapacity() const;
/*
Description:
Unconditionally transfer knot managment to caller and zero m_knot and KnotCapacity().
Unconditionally transfer knot management to caller and zero m_knot and KnotCapacity().
Parameters:
knot_capacity - [out]
knot_capacity is set to input value of KnotCapacity() and then KnotCapacity() is set to 0.
@@ -1089,7 +1089,7 @@ public:
) const;
/*
Paramaters:
Parameters:
span_index - [in]
The index of a non-empty span to test.
span_index >= 0
@@ -1115,7 +1115,7 @@ public:
bool IsSingular() const;
/*
Paramaters:
Parameters:
span_index - [in]
The index of a non-empty span to remove.
span_index >= 0
@@ -1153,7 +1153,7 @@ public:
Description:
Clamps ends and adds knots so the NURBS curve has bezier spans
(all distinct knots have multiplitity = degree).
Paremeters:
Parameters:
bSetEndWeightsToOne - [in] If true and the first or last weight is
not one, then the first and last spans are reparameterized so
that the end weights are one.
@@ -1261,7 +1261,7 @@ public:
// Rational control vertices use homogeneous form
// and explicit weight values are in m_cv[] array.
// 0 for non-rational B-splines.
// Control verticies have an implicit weight value
// Control vertices have an implicit weight value
// of 1.0. An explicit weight value is not
// set in the m_cv[] array.