SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
102 stars 32 forks source link

Cleanup Constraints, added comments, docs, and a roadmap #2085

Closed HeavenlyBerserker closed 1 year ago

HeavenlyBerserker commented 1 year ago

Added a roadmap to navigate all the constraints code, additional comments in Doxygen-friendly format, a constraint group in the docs, and removed a ton of dead or useless code.

The only confusing parts are that we still have the constraint reads for both json and xml in the code, and the snap-to-surface routine still has the confusing name "ApplyConstraints".

Given the roadmap in "Libs/Optimize/Constraints/Constraints.cpp", I hope newer developers can edit and understand the constraints code better and can modify it more easily.

IMPORTANT: Completely removed SphereConstraints.