Archived issue #0026468
Out of range exception on current master
Description
After integration 26351 the following lines were added:
const Standard_Integer
aFirstIdx = TheCurveTool::BSpline(aCurve)->FirstUKnotIndex(),
aLastIdx = TheCurveTool::BSpline(aCurve)->LastUKnotIndex();
// const reference can not be used due to implementation of BRep_Adaptor.
TColStd_Array1OfReal aKnots(aFirstIdx, aLastIdx);
TheCurveTool::BSpline(aCurve)->Knots(aKnots);
When bspline parameters lies inside the knots space, where will be exception in Knots method:
Standard_DimensionError_Raise_if
(K.Length() != knots->Length(), "Geom_BSplineCurve::Knots");
K = knots->Array1();
const Standard_Integer
aFirstIdx = TheCurveTool::BSpline(aCurve)->FirstUKnotIndex(),
aLastIdx = TheCurveTool::BSpline(aCurve)->LastUKnotIndex();
// const reference can not be used due to implementation of BRep_Adaptor.
TColStd_Array1OfReal aKnots(aFirstIdx, aLastIdx);
TheCurveTool::BSpline(aCurve)->Knots(aKnots);
When bspline parameters lies inside the knots space, where will be exception in Knots method:
Standard_DimensionError_Raise_if
(K.Length() != knots->Length(), "Geom_BSplineCurve::Knots");
K = knots->Array1();
Steps to reproduce
test boolean bsection M8
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 22 10:35:37 2015 +0300
0026468: Out of range exception on current master
Problem with different ranges fixed.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 22 10:35:37 2015 +0300
0026468: Out of range exception on current master
Problem with different ranges fixed.
Dear msv,
Please check branch CR26468.
Please check branch CR26468.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Reviewed.
Branch [archived branch] has been updated by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 22 14:45:46 2015 +0300
test cases update.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 22 14:45:46 2015 +0300
test cases update.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records