mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Mark IfcGeom::Kernel::getValue as const
This commit is contained in:
@@ -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.);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user