MantisBT
Mantis Bug Tracker Workflow

occt: master 359cdde7 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
razmyslovich bugmaster master 2016-09-12 10:52:36 master 2bc6f715
Affected Issues 0027358: ShapeAnalysis_Curve::GetSamplePoints iteration logic isn't robust
Changeset 0027358: ShapeAnalysis_Curve::GetSamplePoints iteration logic isn't robust

The iterating logic in ShapeAnalysis_Curve::GetSamplePoints() is made more robust: instead of iterative incrementing parameter by adding step, parameter at each point is calculated independently from index.
This avoids possible accumulation of numeric errors, and ensures that generated points are equally spaced and their quantity is respected in all cases.
mod - src/ShapeAnalysis/ShapeAnalysis_Curve.cxx Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker