1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0027275: Unused formal parameter in BSplCLib::EvalBsplineBasis

Unused formal parameter is deleted.
This commit is contained in:
aml
2016-03-17 14:22:22 +03:00
committed by bugmaster
parent 9a9a3edfd8
commit 6143f12f36
9 changed files with 18 additions and 23 deletions

View File

@@ -3211,8 +3211,7 @@ void BSplCLib::Eval
BSplCLib_LocalMatrix BsplineBasis (LocalRequest, Order);
ErrorCode =
BSplCLib::EvalBsplineBasis(1,
LocalRequest,
BSplCLib::EvalBsplineBasis(LocalRequest,
Order,
FlatKnots,
LocalParameter,
@@ -3410,8 +3409,7 @@ void BSplCLib::Eval
BSplCLib_LocalMatrix BsplineBasis (LocalRequest, Order);
ErrorCode =
BSplCLib::EvalBsplineBasis(1,
LocalRequest,
BSplCLib::EvalBsplineBasis(LocalRequest,
Order,
FlatKnots,
LocalParameter,

View File

@@ -702,7 +702,13 @@ public:
//! value of Nth derivative of first non vanishing
//! Bspline function which has Index FirstNonZeroBsplineIndex
//! if N <= DerivativeOrder + 1
Standard_EXPORT static Standard_Integer EvalBsplineBasis (const Standard_Integer Side, const Standard_Integer DerivativeOrder, const Standard_Integer Order, const TColStd_Array1OfReal& FlatKnots, const Standard_Real Parameter, Standard_Integer& FirstNonZeroBsplineIndex, math_Matrix& BsplineBasis, const Standard_Boolean isPeriodic = Standard_False);
Standard_EXPORT static Standard_Integer EvalBsplineBasis (const Standard_Integer DerivativeOrder,
const Standard_Integer Order,
const TColStd_Array1OfReal& FlatKnots,
const Standard_Real Parameter,
Standard_Integer& FirstNonZeroBsplineIndex,
math_Matrix& BsplineBasis,
const Standard_Boolean isPeriodic = Standard_False);
//! This Builds a fully blown Matrix of
//! (ni)

View File

@@ -346,8 +346,7 @@ BSplCLib::BuildBSpMatrix(const TColStd_Array1OfReal& Parameters,
for (ii = Parameters.Lower() ; ii <= Parameters.Upper() ; ii++) {
ErrorCode =
BSplCLib::EvalBsplineBasis(1,
ContactOrderArray(ii),
BSplCLib::EvalBsplineBasis(ContactOrderArray(ii),
Order,
FlatKnots,
Parameters(ii),
@@ -433,9 +432,7 @@ BSplCLib::FactorBandedMatrix(math_Matrix& Matrix,
Standard_Integer
BSplCLib::EvalBsplineBasis
//(const Standard_Integer Side, // = 1 rigth side, -1 left side
(const Standard_Integer , // = 1 rigth side, -1 left side
const Standard_Integer DerivativeRequest,
(const Standard_Integer DerivativeRequest,
const Standard_Integer Order,
const TColStd_Array1OfReal& FlatKnots,
const Standard_Real Parameter,

View File

@@ -1230,8 +1230,7 @@ void BSplCLib::MovePoint (const Standard_Real U,
math_Matrix BSplineBasis(1, 1,
1, Degree+1);
Standard_Integer ErrorCode =
BSplCLib::EvalBsplineBasis(1,
0,
BSplCLib::EvalBsplineBasis(0,
Degree+1,
FlatKnots,
U,