Delete tiltProperty?
Closed this issue · 4 comments
jessegreenberg commented
"Tilt" used to be an important concept in this sim, but it is not anymore and we might be able to remove this Property. Everything is now based on geometric properties like vertex angle, pairs of parallel sides, and others.
If we can, we can also delete calculateAngle
in Vertex.ts which is only used to calculate the tilt for some reason.
jessegreenberg commented
I don't see any usages of side.tiltProperty, nor of the saved values in ShapeSnapshot. I am going to delete this.
jessegreenberg commented
All options passed to Side were related to tiltProperty so they can be removed too.
jessegreenberg commented
Also, these two in the QuadrilateralDescriber are not used
// TODO: Do we need a query parameter for this?
// TODO: CAn tilt be removed?
this.tiltDifferenceToleranceInterval = 0.2;
this.lengthDifferenceToleranceInterval = 0.05;
jessegreenberg commented
Nice, this cleaned up a lot of things. Changes in wip-2-22-23. Closing.