mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-31 08:56:34 +00:00
Style
This commit is contained in:
@@ -158,9 +158,9 @@ target_link_libraries(test_federation PRIVATE
|
||||
Qt${QT_VERSION}::Gui # Federation::HomeView uses QVector3D from QtGui
|
||||
Qt${QT_VERSION}::Test # QSignalSpy
|
||||
Eigen3::Eigen # Federation.h: composed matrices use Eigen
|
||||
# helpers provides Unit::convert + Geolocation helpers
|
||||
# (helmertMetersFromParameters, getWcs, getMapUnit) + Placement
|
||||
# (getAxis2Placement, called from Geolocation::getWcs). Linking the
|
||||
# helpers provides unit conversion and geolocation helpers
|
||||
# (helmert_meters_from_parameters, get_wcs, get_map_unit) + Placement
|
||||
# (get_axis2_placement, called from geolocation::get_wcs). Linking the
|
||||
# static lib avoids re-compiling those .cpp files here and pulls
|
||||
# the src/helpers include dir + IfcParse transitively.
|
||||
helpers
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
********************************************************************************/
|
||||
|
||||
#include "Federation.h"
|
||||
#include "Geolocation.h"
|
||||
#include "geolocation.h"
|
||||
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
@@ -467,7 +467,7 @@ TEST_CASE("helmert metres transform consumes Scale through map unit scale",
|
||||
|
||||
const double project_length_to_meters = 0.001;
|
||||
const double map_unit_to_meters = project_length_to_meters / params.scale;
|
||||
Eigen::Matrix4d M = helmertMetersFromParameters(params, map_unit_to_meters);
|
||||
Eigen::Matrix4d M = helmert_meters_from_parameters(params, map_unit_to_meters);
|
||||
|
||||
Eigen::Vector4d local_m(10.0, 20.0, 0.0, 1.0);
|
||||
Eigen::Vector4d global_m = M * local_m;
|
||||
|
||||
Reference in New Issue
Block a user