diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-01-26 17:55:47 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-01-26 17:55:47 (GMT) |
commit | 391c725aeb86baff7604b10abd744918b48596e9 (patch) | |
tree | 75c121e3bd652bf3d7c54cb7c4e006630f3059a1 /tests/bboxhelp.cc | |
parent | 7d147032543f51c93123c484d0c2b2c7e191df26 (diff) |
integrate gui cmdline into test framework
Diffstat (limited to 'tests/bboxhelp.cc')
-rw-r--r-- | tests/bboxhelp.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/bboxhelp.cc b/tests/bboxhelp.cc deleted file mode 100644 index b70ddcf..0000000 --- a/tests/bboxhelp.cc +++ /dev/null @@ -1,21 +0,0 @@ -/* - Work around bugs in MSVC compiler with Eigen AlignmentBox - bbox.min and bbox.max will fail with Syntax Errors if placed inside - of cgalpngtest.cc -*/ - -#include "linalg.h" - -Vector3d getBoundingCenter(BoundingBox bbox) -{ - Vector3d center = (bbox.min() + bbox.max()) / 2; - return center; // Vector3d(0,0,0); -} - -double getBoundingRadius(BoundingBox bbox) -{ - double radius = (bbox.max() - bbox.min()).norm() / 2; - return radius; // 0; -} - - |