diff --git a/include/geode/geosciences/explicit/mixin/builder/fault_blocks_builder.h b/include/geode/geosciences/explicit/mixin/builder/fault_blocks_builder.h index fd870925..e48fd822 100644 --- a/include/geode/geosciences/explicit/mixin/builder/fault_blocks_builder.h +++ b/include/geode/geosciences/explicit/mixin/builder/fault_blocks_builder.h @@ -44,7 +44,7 @@ namespace geode void set_fault_block_name( const uuid& id, absl::string_view name ); protected: - FaultBlocksBuilder( FaultBlocks< dimension >& fault_blocks ) + explicit FaultBlocksBuilder( FaultBlocks< dimension >& fault_blocks ) : fault_blocks_( fault_blocks ) { } diff --git a/include/geode/geosciences/explicit/mixin/builder/faults_builder.h b/include/geode/geosciences/explicit/mixin/builder/faults_builder.h index e641e6fd..dc0679b7 100644 --- a/include/geode/geosciences/explicit/mixin/builder/faults_builder.h +++ b/include/geode/geosciences/explicit/mixin/builder/faults_builder.h @@ -47,7 +47,10 @@ namespace geode void set_fault_name( const uuid& id, absl::string_view name ); protected: - FaultsBuilder( Faults< dimension >& faults ) : faults_( faults ) {} + explicit FaultsBuilder( Faults< dimension >& faults ) + : faults_( faults ) + { + } const uuid& create_fault(); diff --git a/include/geode/geosciences/explicit/mixin/builder/horizons_builder.h b/include/geode/geosciences/explicit/mixin/builder/horizons_builder.h index 263d7948..073ee646 100644 --- a/include/geode/geosciences/explicit/mixin/builder/horizons_builder.h +++ b/include/geode/geosciences/explicit/mixin/builder/horizons_builder.h @@ -47,7 +47,7 @@ namespace geode void set_horizon_name( const uuid& id, absl::string_view name ); protected: - HorizonsBuilder( Horizons< dimension >& horizons ) + explicit HorizonsBuilder( Horizons< dimension >& horizons ) : horizons_( horizons ) { } diff --git a/include/geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.h b/include/geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.h index e50ac2e5..e0ea953f 100644 --- a/include/geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.h +++ b/include/geode/geosciences/explicit/mixin/builder/stratigraphic_units_builder.h @@ -45,7 +45,7 @@ namespace geode const uuid& id, absl::string_view name ); protected: - StratigraphicUnitsBuilder( + explicit StratigraphicUnitsBuilder( StratigraphicUnits< dimension >& stratigraphic_units ) : stratigraphic_units_( stratigraphic_units ) { diff --git a/include/geode/geosciences/explicit/representation/builder/cross_section_builder.h b/include/geode/geosciences/explicit/representation/builder/cross_section_builder.h index e3d92bbd..a3bece49 100644 --- a/include/geode/geosciences/explicit/representation/builder/cross_section_builder.h +++ b/include/geode/geosciences/explicit/representation/builder/cross_section_builder.h @@ -58,7 +58,7 @@ namespace geode OPENGEODE_DISABLE_COPY_AND_MOVE( CrossSectionBuilder ); public: - CrossSectionBuilder( CrossSection& cross_section ); + explicit CrossSectionBuilder( CrossSection& cross_section ); ModelCopyMapping copy( const CrossSection& cross_section ); diff --git a/include/geode/geosciences/explicit/representation/builder/structural_model_builder.h b/include/geode/geosciences/explicit/representation/builder/structural_model_builder.h index 1b6b0cbc..a5fc1690 100644 --- a/include/geode/geosciences/explicit/representation/builder/structural_model_builder.h +++ b/include/geode/geosciences/explicit/representation/builder/structural_model_builder.h @@ -58,7 +58,7 @@ namespace geode OPENGEODE_DISABLE_COPY_AND_MOVE( StructuralModelBuilder ); public: - StructuralModelBuilder( StructuralModel& structural_model ); + explicit StructuralModelBuilder( StructuralModel& structural_model ); ModelCopyMapping copy( const StructuralModel& structural_model ); diff --git a/include/geode/geosciences/explicit/representation/io/cross_section_output.h b/include/geode/geosciences/explicit/representation/io/cross_section_output.h index feeef817..6ae263af 100644 --- a/include/geode/geosciences/explicit/representation/io/cross_section_output.h +++ b/include/geode/geosciences/explicit/representation/io/cross_section_output.h @@ -57,7 +57,7 @@ namespace geode virtual ~CrossSectionOutput() = default; protected: - CrossSectionOutput( absl::string_view filename ) + explicit CrossSectionOutput( absl::string_view filename ) : Output< CrossSection >{ filename } { } diff --git a/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_input.h b/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_input.h index 24932275..8a82b712 100644 --- a/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_input.h +++ b/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_input.h @@ -32,7 +32,7 @@ namespace geode : public CrossSectionInput { public: - OpenGeodeCrossSectionInput( absl::string_view filename ); + explicit OpenGeodeCrossSectionInput( absl::string_view filename ); static absl::string_view extension() { diff --git a/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_output.h b/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_output.h index 7c80f8ad..214f78b3 100644 --- a/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_output.h +++ b/include/geode/geosciences/explicit/representation/io/geode/geode_cross_section_output.h @@ -40,7 +40,7 @@ namespace geode : public CrossSectionOutput { public: - OpenGeodeCrossSectionOutput( absl::string_view filename ); + explicit OpenGeodeCrossSectionOutput( absl::string_view filename ); static absl::string_view extension() { diff --git a/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_input.h b/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_input.h index 0e0dbad3..3502f10c 100644 --- a/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_input.h +++ b/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_input.h @@ -32,7 +32,7 @@ namespace geode : public StructuralModelInput { public: - OpenGeodeStructuralModelInput( absl::string_view filename ); + explicit OpenGeodeStructuralModelInput( absl::string_view filename ); static absl::string_view extension() { diff --git a/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_output.h b/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_output.h index 68928a1f..60968977 100644 --- a/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_output.h +++ b/include/geode/geosciences/explicit/representation/io/geode/geode_structural_model_output.h @@ -40,7 +40,7 @@ namespace geode final : public StructuralModelOutput { public: - OpenGeodeStructuralModelOutput( absl::string_view filename ); + explicit OpenGeodeStructuralModelOutput( absl::string_view filename ); static absl::string_view extension() { diff --git a/include/geode/geosciences/explicit/representation/io/structural_model_output.h b/include/geode/geosciences/explicit/representation/io/structural_model_output.h index 0f05bde9..6dcd1227 100644 --- a/include/geode/geosciences/explicit/representation/io/structural_model_output.h +++ b/include/geode/geosciences/explicit/representation/io/structural_model_output.h @@ -57,7 +57,7 @@ namespace geode virtual ~StructuralModelOutput() = default; protected: - StructuralModelOutput( absl::string_view filename ) + explicit StructuralModelOutput( absl::string_view filename ) : Output< StructuralModel >{ filename } { } diff --git a/include/geode/geosciences/implicit/geometry/stratigraphic_point.h b/include/geode/geosciences/implicit/geometry/stratigraphic_point.h index 2f83caca..9ae83b86 100644 --- a/include/geode/geosciences/implicit/geometry/stratigraphic_point.h +++ b/include/geode/geosciences/implicit/geometry/stratigraphic_point.h @@ -51,7 +51,8 @@ namespace geode implicit_value_{ implicit_value } { } - StratigraphicPoint( const std::array< double, dimension >& values ) + explicit StratigraphicPoint( + const std::array< double, dimension >& values ) : implicit_value_{ values[dimension - 1] } { for( const auto d : LRange{ location_dim } ) diff --git a/include/geode/geosciences/implicit/mixin/builder/stratigraphic_relationships_builder.h b/include/geode/geosciences/implicit/mixin/builder/stratigraphic_relationships_builder.h index 872feb7d..b1e8e4a8 100644 --- a/include/geode/geosciences/implicit/mixin/builder/stratigraphic_relationships_builder.h +++ b/include/geode/geosciences/implicit/mixin/builder/stratigraphic_relationships_builder.h @@ -36,7 +36,7 @@ namespace geode class opengeode_geosciences_implicit_api StratigraphicRelationshipsBuilder { public: - StratigraphicRelationshipsBuilder( + explicit StratigraphicRelationshipsBuilder( StratigraphicRelationships& relationships ); /*! diff --git a/include/geode/geosciences/implicit/representation/builder/horizons_stack_builder.h b/include/geode/geosciences/implicit/representation/builder/horizons_stack_builder.h index 844c8333..512a8347 100644 --- a/include/geode/geosciences/implicit/representation/builder/horizons_stack_builder.h +++ b/include/geode/geosciences/implicit/representation/builder/horizons_stack_builder.h @@ -65,7 +65,8 @@ namespace geode }; public: - HorizonsStackBuilder( HorizonsStack< dimension >& horizons_stack ); + explicit HorizonsStackBuilder( + HorizonsStack< dimension >& horizons_stack ); HorizonsStackBuilder( HorizonsStackBuilder< dimension >&& ) = default; ModelCopyMapping copy( diff --git a/include/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.h b/include/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.h index 1650555c..4bfc1c93 100644 --- a/include/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.h +++ b/include/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.h @@ -44,7 +44,8 @@ namespace geode : public CrossSectionBuilder { public: - ImplicitCrossSectionBuilder( ImplicitCrossSection& implicit_section ); + explicit ImplicitCrossSectionBuilder( + ImplicitCrossSection& implicit_section ); ModelCopyMapping copy( const ImplicitCrossSection& implicit_model ); diff --git a/include/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.h b/include/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.h index 5194bc0b..8a224211 100644 --- a/include/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.h +++ b/include/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.h @@ -44,7 +44,7 @@ namespace geode : public StructuralModelBuilder { public: - ImplicitStructuralModelBuilder( + explicit ImplicitStructuralModelBuilder( ImplicitStructuralModel& implicit_model ); ModelCopyMapping copy( const ImplicitStructuralModel& implicit_model ); diff --git a/include/geode/geosciences/implicit/representation/builder/stratigraphic_model_builder.h b/include/geode/geosciences/implicit/representation/builder/stratigraphic_model_builder.h index 0f60d7dd..614b1094 100644 --- a/include/geode/geosciences/implicit/representation/builder/stratigraphic_model_builder.h +++ b/include/geode/geosciences/implicit/representation/builder/stratigraphic_model_builder.h @@ -44,7 +44,8 @@ namespace geode : public ImplicitStructuralModelBuilder { public: - StratigraphicModelBuilder( StratigraphicModel& stratigraphic_model_ ); + explicit StratigraphicModelBuilder( + StratigraphicModel& stratigraphic_model_ ); ModelCopyMapping copy( const StratigraphicModel& implicit_model ); diff --git a/include/geode/geosciences/implicit/representation/builder/stratigraphic_section_builder.h b/include/geode/geosciences/implicit/representation/builder/stratigraphic_section_builder.h index 2b732289..2a8d55dc 100644 --- a/include/geode/geosciences/implicit/representation/builder/stratigraphic_section_builder.h +++ b/include/geode/geosciences/implicit/representation/builder/stratigraphic_section_builder.h @@ -44,7 +44,7 @@ namespace geode : public ImplicitCrossSectionBuilder { public: - StratigraphicSectionBuilder( + explicit StratigraphicSectionBuilder( StratigraphicSection& stratigraphic_section ); ModelCopyMapping copy( diff --git a/include/geode/geosciences/implicit/representation/core/implicit_cross_section.h b/include/geode/geosciences/implicit/representation/core/implicit_cross_section.h index 40095f7f..dfa9c6f0 100644 --- a/include/geode/geosciences/implicit/representation/core/implicit_cross_section.h +++ b/include/geode/geosciences/implicit/representation/core/implicit_cross_section.h @@ -23,6 +23,8 @@ #pragma once +#include + #include #include diff --git a/include/geode/geosciences/implicit/representation/core/implicit_structural_model.h b/include/geode/geosciences/implicit/representation/core/implicit_structural_model.h index 9cccd6d2..07889886 100644 --- a/include/geode/geosciences/implicit/representation/core/implicit_structural_model.h +++ b/include/geode/geosciences/implicit/representation/core/implicit_structural_model.h @@ -23,6 +23,8 @@ #pragma once +#include + #include #include diff --git a/include/geode/geosciences/implicit/representation/core/stratigraphic_section.h b/include/geode/geosciences/implicit/representation/core/stratigraphic_section.h index 435fc4ca..e398bbde 100644 --- a/include/geode/geosciences/implicit/representation/core/stratigraphic_section.h +++ b/include/geode/geosciences/implicit/representation/core/stratigraphic_section.h @@ -23,6 +23,8 @@ #pragma once +#include + #include #include diff --git a/src/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.cpp b/src/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.cpp index 7747cfc5..03fafc69 100644 --- a/src/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.cpp +++ b/src/geode/geosciences/implicit/representation/builder/implicit_cross_section_builder.cpp @@ -100,6 +100,8 @@ namespace geode HorizonsStackBuilder2D ImplicitCrossSectionBuilder::horizons_stack_builder() { - return { implicit_section_.modifiable_horizons_stack( {} ) }; + return HorizonsStackBuilder2D{ + implicit_section_.modifiable_horizons_stack( {} ) + }; } } // namespace geode diff --git a/src/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.cpp b/src/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.cpp index 8f60b888..9dcacf69 100644 --- a/src/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.cpp +++ b/src/geode/geosciences/implicit/representation/builder/implicit_structural_model_builder.cpp @@ -104,6 +104,8 @@ namespace geode HorizonsStackBuilder3D ImplicitStructuralModelBuilder::horizons_stack_builder() { - return { implicit_model_.modifiable_horizons_stack( {} ) }; + return HorizonsStackBuilder3D{ + implicit_model_.modifiable_horizons_stack( {} ) + }; } } // namespace geode diff --git a/src/geode/geosciences/implicit/representation/core/detail/helpers.cpp b/src/geode/geosciences/implicit/representation/core/detail/helpers.cpp index 8fcee4c7..44fc5fda 100644 --- a/src/geode/geosciences/implicit/representation/core/detail/helpers.cpp +++ b/src/geode/geosciences/implicit/representation/core/detail/helpers.cpp @@ -144,7 +144,7 @@ namespace geode auto xyz_attribute = strati_surface->vertex_attribute_manager() .find_or_create_attribute< VariableAttribute, Point2D >( - "geode_xyz", { { 0, 0 } }, { false, true } ); + "geode_xyz", Point2D{ { 0, 0 } }, { false, true } ); for( const auto pt_id : Range{ strati_surface->nb_vertices() } ) { xyz_attribute->set_value( @@ -174,7 +174,8 @@ namespace geode auto xyz_attribute = strati_solid->vertex_attribute_manager() .find_or_create_attribute< VariableAttribute, Point3D >( - "geode_xyz", { { 0, 0, 0 } }, { false, true } ); + "geode_xyz", Point3D{ { 0, 0, 0 } }, + { false, true } ); for( const auto pt_id : Range{ strati_solid->nb_vertices() } ) { xyz_attribute->set_value( @@ -265,12 +266,12 @@ namespace geode StratigraphicModel::stratigraphic_location_type >( StratigraphicModel:: stratigraphic_location_attribute_name, - { { 0, 0 } }, { false, true } ); + Point2D{ { 0, 0 } }, { false, true } ); for( const auto vertex_id : Range{ block_mesh.nb_vertices() } ) { const auto& vertex_point = block_mesh.point( vertex_id ); strati_location_attribute->set_value( - vertex_id, { { vertex_point.value( first_axis ), + vertex_id, Point2D{ { vertex_point.value( first_axis ), vertex_point.value( second_axis ) } } ); } } diff --git a/src/geode/geosciences/implicit/representation/core/stratigraphic_model.cpp b/src/geode/geosciences/implicit/representation/core/stratigraphic_model.cpp index 6d4be064..284f7673 100644 --- a/src/geode/geosciences/implicit/representation/core/stratigraphic_model.cpp +++ b/src/geode/geosciences/implicit/representation/core/stratigraphic_model.cpp @@ -208,7 +208,7 @@ namespace geode TetrahedralSolidPointFunction< 3, 2 >::create( block.mesh< TetrahedralSolid3D >(), stratigraphic_location_attribute_name, - { { 0, 0 } } ) ); + Point2D{ { 0, 0 } } ) ); } else { @@ -334,7 +334,7 @@ namespace geode } box_vector[p] = std::move( bbox ); } ); - return { box_vector }; + return AABBTree3D{ std::move( box_vector ) }; } void build_model_stratigraphic_distance_to_mesh_elements( diff --git a/src/geode/geosciences/implicit/representation/core/stratigraphic_section.cpp b/src/geode/geosciences/implicit/representation/core/stratigraphic_section.cpp index fa63aaa2..a0f4b69f 100644 --- a/src/geode/geosciences/implicit/representation/core/stratigraphic_section.cpp +++ b/src/geode/geosciences/implicit/representation/core/stratigraphic_section.cpp @@ -223,7 +223,7 @@ namespace geode TriangulatedSurfacePointFunction< 2, 1 >::create( surface.mesh< TriangulatedSurface2D >(), stratigraphic_location_attribute_name, - { { 0 } } ) ); + Point1D{ { 0 } } ) ); } else { @@ -330,7 +330,7 @@ namespace geode } box_vector[p] = std::move( bbox ); } ); - return { box_vector }; + return AABBTree2D{ std::move( box_vector ) }; } void build_model_stratigraphic_distance_to_mesh_elements( diff --git a/tests/explicit/test-geographic-coordinate-system.cpp b/tests/explicit/test-geographic-coordinate-system.cpp index 378df6d1..c797de60 100644 --- a/tests/explicit/test-geographic-coordinate-system.cpp +++ b/tests/explicit/test-geographic-coordinate-system.cpp @@ -65,7 +65,7 @@ void test_crs() { "EPSG", "27571", "I" } }; for( const auto p : geode::TRange< double >{ nb_points } ) { - lambert1.set_point( p, { { p, p, p } } ); + lambert1.set_point( p, geode::Point3D{ { p, p, p } } ); } geode::GeographicCoordinateSystem3D lambert2{ manager, { "EPSG", "27572", "II" } }; diff --git a/tests/implicit/test-stratigraphic-model.cpp b/tests/implicit/test-stratigraphic-model.cpp index 6e522978..a7170156 100644 --- a/tests/implicit/test-stratigraphic-model.cpp +++ b/tests/implicit/test-stratigraphic-model.cpp @@ -83,23 +83,24 @@ void test_model( { const auto& block = model.block( block1_id ); const auto& strati_pt1 = model.stratigraphic_coordinates( block, 59 ); - OPENGEODE_EXCEPTION( strati_pt1.stratigraphic_coordinates().inexact_equal( - { { -0.213112, -0.188148, 0.472047 } } ), + OPENGEODE_EXCEPTION( + strati_pt1.stratigraphic_coordinates().inexact_equal( + geode::Point3D{ { -0.213112, -0.188148, 0.472047 } } ), "[Test] Wrong stratigraphic coordinates for point 59 at position [", model.block( block1_id ).mesh().point( 59 ).string(), "] with stratigraphic coordinates [", strati_pt1.string(), "]." ); const geode::Point3D query2{ { 1, 0, 1 } }; const auto strati_pt2 = model.stratigraphic_coordinates( block, query2 ); OPENGEODE_EXCEPTION( strati_pt2->stratigraphic_coordinates().inexact_equal( - { { 0.386272, -0.109477, 0. } } ), + geode::Point3D{ { 0.386272, -0.109477, 0. } } ), "[Test] Wrong stratigraphic coordinates for point at position [", query2.string(), "] with stratigraphic coordinates [", strati_pt2->string(), "]." ); const geode::Point3D query3{ { 0.480373621, 0.5420120955, 0.6765933633 } }; const auto strati_pt3 = model.stratigraphic_coordinates( block, query3 ); OPENGEODE_EXCEPTION( - strati_pt3->stratigraphic_coordinates().inexact_equal( - { { 0.03380647978, -0.002759957825, 0.3080064376 } } ), + strati_pt3->stratigraphic_coordinates().inexact_equal( geode::Point3D{ + { 0.03380647978, -0.002759957825, 0.3080064376 } } ), "[Test] Wrong stratigraphic coordinates for point at position [", query3.string(), "] with stratigraphic coordinates [", strati_pt3->string(), "]." ); @@ -127,10 +128,10 @@ void test_model( const auto stratigraphic_bbox = model.stratigraphic_bounding_box(); OPENGEODE_EXCEPTION( stratigraphic_bbox.min().inexact_equal( - { { -0.8098155, -0.5378192, 0 } } ), + geode::Point3D{ { -0.8098155, -0.5378192, 0 } } ), "[Test] Wrong stratigraphic coordinates bounding box minimum." ); OPENGEODE_EXCEPTION( stratigraphic_bbox.max().inexact_equal( - { { 0.5643514, 0.6411656, 1 } } ), + geode::Point3D{ { 0.5643514, 0.6411656, 1 } } ), "[Test] Wrong stratigraphic coordinates bounding box minimum." ); for( const auto& horizon : model.horizons() ) diff --git a/tests/implicit/test-stratigraphic-section.cpp b/tests/implicit/test-stratigraphic-section.cpp index 2d262a39..8dd8422b 100644 --- a/tests/implicit/test-stratigraphic-section.cpp +++ b/tests/implicit/test-stratigraphic-section.cpp @@ -61,7 +61,7 @@ geode::StratigraphicSection import_section_with_stratigraphy() for( const auto vertex_id : geode::Range{ mesh.nb_vertices() } ) { model_builder.set_stratigraphic_coordinates( surface, vertex_id, - { { mesh.point( vertex_id ).value( 0 ), + geode::Point2D{ { mesh.point( vertex_id ).value( 0 ), scalar_attribute->value( vertex_id ) } } ); } } @@ -75,8 +75,8 @@ void test_section( const geode::StratigraphicSection& implicit_model ) const auto& strati_pt1 = implicit_model.stratigraphic_coordinates( surface0, 1773 ); OPENGEODE_EXCEPTION( - strati_pt1.stratigraphic_coordinates().inexact_equal( - { { surface0.mesh().point( 1773 ).value( 0 ), -1.940964 } } ), + strati_pt1.stratigraphic_coordinates().inexact_equal( geode::Point2D{ + { surface0.mesh().point( 1773 ).value( 0 ), -1.940964 } } ), "[Test] Wrong stratigraphic coordinates for point 1773 at position [", surface0.mesh().point( 1773 ).string(), "] with stratigraphic coordinates [", strati_pt1.string(), "]." ); @@ -93,17 +93,18 @@ void test_section( const geode::StratigraphicSection& implicit_model ) const geode::Point2D query3{ { 3.32700324, 4.44508266 } }; const auto strati_pt3 = implicit_model.stratigraphic_coordinates( surface0, query3 ); - OPENGEODE_EXCEPTION( strati_pt3->stratigraphic_coordinates().inexact_equal( - { { query3.value( 0 ), -1.889619 } } ), + OPENGEODE_EXCEPTION( + strati_pt3->stratigraphic_coordinates().inexact_equal( + geode::Point2D{ { query3.value( 0 ), -1.889619 } } ), "[Test] Wrong stratigraphic coordinates for point at position [", query3.string(), "] with stratigraphic coordinates [", strati_pt3->string(), "]." ); const auto stratigraphic_bbox = implicit_model.stratigraphic_bounding_box(); - OPENGEODE_EXCEPTION( - stratigraphic_bbox.min().inexact_equal( { { 0, -6.5798343 } } ), + OPENGEODE_EXCEPTION( stratigraphic_bbox.min().inexact_equal( + geode::Point2D{ { 0, -6.5798343 } } ), "[Test] Wrong stratigraphic coordinates bounding box minimum." ); - OPENGEODE_EXCEPTION( - stratigraphic_bbox.max().inexact_equal( { { 15, 10.4703907 } } ), + OPENGEODE_EXCEPTION( stratigraphic_bbox.max().inexact_equal( + geode::Point2D{ { 15, 10.4703907 } } ), "[Test] Wrong stratigraphic coordinates bounding box minimum." ); }