mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 22:10:00 +00:00
Fix some warnings
This commit is contained in:
@@ -199,7 +199,6 @@ private:
|
|||||||
double ifc_planeangle_unit;
|
double ifc_planeangle_unit;
|
||||||
double modelling_precision;
|
double modelling_precision;
|
||||||
double dimensionality;
|
double dimensionality;
|
||||||
faceset_helper* faceset_helper_;
|
|
||||||
|
|
||||||
#ifndef NO_CACHE
|
#ifndef NO_CACHE
|
||||||
MAKE_TYPE_NAME(Cache) cache;
|
MAKE_TYPE_NAME(Cache) cache;
|
||||||
@@ -212,6 +211,8 @@ private:
|
|||||||
// For stopping PlacementRelTo recursion in convert(const IfcSchema::IfcObjectPlacement* l, gp_Trsf& trsf)
|
// For stopping PlacementRelTo recursion in convert(const IfcSchema::IfcObjectPlacement* l, gp_Trsf& trsf)
|
||||||
const IfcParse::declaration* placement_rel_to;
|
const IfcParse::declaration* placement_rel_to;
|
||||||
|
|
||||||
|
faceset_helper* faceset_helper_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MAKE_TYPE_NAME(Kernel)()
|
MAKE_TYPE_NAME(Kernel)()
|
||||||
: IfcGeom::Kernel(0)
|
: IfcGeom::Kernel(0)
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
namespace IfcGeom {
|
namespace IfcGeom {
|
||||||
class IFC_GEOM_API IfcRepresentationShapeItem {
|
class IFC_GEOM_API IfcRepresentationShapeItem {
|
||||||
private:
|
private:
|
||||||
|
int id;
|
||||||
gp_GTrsf placement;
|
gp_GTrsf placement;
|
||||||
TopoDS_Shape shape;
|
TopoDS_Shape shape;
|
||||||
const SurfaceStyle* style;
|
const SurfaceStyle* style;
|
||||||
int id;
|
|
||||||
public:
|
public:
|
||||||
IfcRepresentationShapeItem(int id, const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
|
IfcRepresentationShapeItem(int id, const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
|
||||||
: id(id), placement(placement), shape(shape), style(style) {}
|
: id(id), placement(placement), shape(shape), style(style) {}
|
||||||
|
|||||||
@@ -36,7 +36,9 @@ static const char * const DATA = "DATA";
|
|||||||
using namespace IfcParse;
|
using namespace IfcParse;
|
||||||
|
|
||||||
HeaderEntity::HeaderEntity(const char * const datatype, size_t size, IfcFile* file)
|
HeaderEntity::HeaderEntity(const char * const datatype, size_t size, IfcFile* file)
|
||||||
: IfcEntityInstanceData(file, size), size_(size), _datatype(datatype)
|
: IfcEntityInstanceData(file, size)
|
||||||
|
, _datatype(datatype)
|
||||||
|
, size_(size)
|
||||||
{
|
{
|
||||||
if (file) {
|
if (file) {
|
||||||
offset_in_file_ = file->stream->Tell();
|
offset_in_file_ = file->stream->Tell();
|
||||||
|
|||||||
Reference in New Issue
Block a user