Martin Šach
003232dfb6
Add tests for SupportSpotsGenerator::ObjectPart construction.
...
Ensuring that ObjectParts in SupportSpotsGenerator are properly
generated from slice is crucial for any further computations.
2023-09-26 16:11:19 +02:00
Martin Šach
13579fff45
Move definitons to header in the SupportSpotsGenerator.
...
Moving the definitions to a header file will enable testing the
functions involved.
2023-09-26 16:11:19 +02:00
Lukas Matena
11273b29ac
Fixed compiler warnings
2023-09-26 14:24:23 +02:00
Martin Šach
6164051d60
Use proper formula for second moment of area.
...
SupportSpotsGenerator originally used a heuristic formula. Current
formula is properly derived using known properties of
second moment of area. Several tests of this formula are added.
2023-09-22 13:30:05 +02:00