Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Best fits take MR::Vector instead of std::vector - #7599

Merged
Fedr merged 1 commit into
masterfrom
best-fit-mr-vector
Nov 26, 2026
Merged

Fedr merged 1 commit into
masterfrom
best-fit-mr-vector

Conversation

@Fedr

@Fedr Fedr commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

The best fits added in #7589 (findBestSphere, findBestCircle, findRevolutionAxis, findBestCylinderByNormals, findBestConeWithAxis, findBestConeByTangentPlanes, findBestTorusWithAxis, refineTorus) now take MR::Vector instead of std::vector. They are not in any release yet, so the API can still change without breaking users.

accumulatePoints and accumulateWeighedPoints keep std::vector: they are older public API, and DenseBox passes its std::vector to them.

Callers updated: CircleObject, SphereObject, MRBestFitTests.

🤖 Generated with Claude Code

findBestSphere, findBestCircle, findRevolutionAxis, findBestCylinderByNormals,
findBestConeWithAxis, findBestConeByTangentPlanes, findBestTorusWithAxis and
refineTorus are new since #7589 and not yet released, so their parameters switch
to MR::Vector now. accumulatePoints and accumulateWeighedPoints keep std::vector:
they are older public API used by DenseBox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Fedr
Fedr merged commit bf2cfd4 into master Nov 26, 2026
@Fedr
Fedr deleted the best-fit-mr-vector branch November 26, 2026 11:02
Fedr added a commit that referenced this pull request Nov 26, 2026
The best fits take MR::Vector since #7599, which broke the build here;
all arrays of the converter are MR::Vector now. The output STEP files
of 11 NIST parts are the same as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants