mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +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);
|
double face_area(const TopoDS_Face& f);
|
||||||
void apply_tolerance(TopoDS_Shape& s, double t);
|
void apply_tolerance(TopoDS_Shape& s, double t);
|
||||||
void setValue(GeomValue var, double value);
|
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);
|
bool fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape);
|
||||||
void remove_redundant_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.);
|
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) {
|
switch (var) {
|
||||||
case GV_DEFLECTION_TOLERANCE:
|
case GV_DEFLECTION_TOLERANCE:
|
||||||
return deflection_tolerance;
|
return deflection_tolerance;
|
||||||
|
|||||||
Reference in New Issue
Block a user