Mark IfcGeom::Kernel::getValue as const

This commit is contained in:
aothms
2015-10-07 16:13:25 +02:00
parent db6630c1f8
commit 3a9e90f94f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ public:
double face_area(const TopoDS_Face& f);
void apply_tolerance(TopoDS_Shape& s, double t);
void setValue(GeomValue var, double value);
double getValue(GeomValue var);
double getValue(GeomValue var) const;
bool fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape);
void remove_redundant_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.);
+1 -1
View File
@@ -554,7 +554,7 @@ void IfcGeom::Kernel::setValue(GeomValue var, double value) {
}
}
double IfcGeom::Kernel::getValue(GeomValue var) {
double IfcGeom::Kernel::getValue(GeomValue var) const {
switch (var) {
case GV_DEFLECTION_TOLERANCE:
return deflection_tolerance;