Measuring: Added missing default values to SurfaceFeature member variables

This commit is contained in:
enricoturri1966 2022-09-06 10:17:53 +02:00
parent cb57b3c5cb
commit 49885b9c6f

View File

@ -64,9 +64,9 @@ public:
}
private:
SurfaceFeatureType m_type = SurfaceFeatureType::Undef;
Vec3d m_pt1;
Vec3d m_pt2;
SurfaceFeatureType m_type{ SurfaceFeatureType::Undef };
Vec3d m_pt1{ Vec3d::Zero() };
Vec3d m_pt2{ Vec3d::Zero() };
std::optional<Vec3d> m_pt3;
double m_value{ 0.0 };
};