Skip to content

Commit 547c67b

Browse files
committed
fix bug in geometry processing. add struct GeomProcessingParams
1 parent 7dec87b commit 547c67b

File tree

1,489 files changed

+3267
-5277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,489 files changed

+3267
-5277
lines changed

IfcPlusPlus/src/external/Carve/src/include/carve/geom3d.hpp

Lines changed: 355 additions & 298 deletions
Large diffs are not rendered by default.

IfcPlusPlus/src/external/manifold/src/utilities/include/public.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
namespace manifold {
3434

35-
constexpr float kTolerance = 1e-5;
35+
constexpr float kTolerance = 1e-5f;
3636

3737
#ifdef __CUDACC__
3838
#define HOST_DEVICE __host__ __device__

IfcPlusPlus/src/ifcpp/IFC4X3/EntityFactory.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
#include "lib/IfcZone.cpp"
881881
#include "EntityFactory.h"
882882

883-
static std::map<std::string, std::function<BuildingEntity*( void )> > entity_factory_map = {
883+
static std::map<std::string, std::function<BuildingEntity*( void )> > entity_factory_map = {
884884
{ "IFCACTIONREQUEST", []()->BuildingEntity* { return new IFC4X3::IfcActionRequest(); } },
885885
{ "IFCACTOR", []()->BuildingEntity* { return new IFC4X3::IfcActor(); } },
886886
{ "IFCACTORROLE", []()->BuildingEntity* { return new IFC4X3::IfcActorRole(); } },
@@ -1755,8 +1755,7 @@
17551755
{ "IFCWORKSCHEDULE", []()->BuildingEntity* { return new IFC4X3::IfcWorkSchedule(); } },
17561756
{ "IFCWORKTIME", []()->BuildingEntity* { return new IFC4X3::IfcWorkTime(); } },
17571757
{ "IFCZSHAPEPROFILEDEF", []()->BuildingEntity* { return new IFC4X3::IfcZShapeProfileDef(); } },
1758-
{ "IFCZONE", []()->BuildingEntity* { return new IFC4X3::IfcZone(); } }
1759-
};
1758+
{ "IFCZONE", []()->BuildingEntity* { return new IFC4X3::IfcZone(); } }};
17601759

17611760
BuildingEntity* IFC4X3::EntityFactory::createEntityObject( const std::string& class_name_upper )
17621761
{

IfcPlusPlus/src/ifcpp/IFC4X3/TypeFactory.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
#include "lib/IfcWorkScheduleTypeEnum.cpp"
445445
#include "TypeFactory.h"
446446

447-
static std::map<std::string, std::function<shared_ptr<BuildingObject>( const std::string&, const std::map<int, shared_ptr<BuildingEntity> >&, std::stringstream& )> > type_factory_map = {
447+
static std::map<std::string, std::function<shared_ptr<BuildingObject>( const std::string&, const std::map<int, shared_ptr<BuildingEntity> >&, std::stringstream& )> > type_factory_map = {
448448
{ "IFCABSORBEDDOSEMEASURE", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcAbsorbedDoseMeasure::createObjectFromSTEP( arg, map, errorStream ); } },
449449
{ "IFCACCELERATIONMEASURE", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcAccelerationMeasure::createObjectFromSTEP( arg, map, errorStream ); } },
450450
{ "IFCACTIONREQUESTTYPEENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcActionRequestTypeEnum::createObjectFromSTEP( arg, map, errorStream ); } },
@@ -883,8 +883,7 @@
883883
{ "IFCWINDOWTYPEPARTITIONINGENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcWindowTypePartitioningEnum::createObjectFromSTEP( arg, map, errorStream ); } },
884884
{ "IFCWORKCALENDARTYPEENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcWorkCalendarTypeEnum::createObjectFromSTEP( arg, map, errorStream ); } },
885885
{ "IFCWORKPLANTYPEENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcWorkPlanTypeEnum::createObjectFromSTEP( arg, map, errorStream ); } },
886-
{ "IFCWORKSCHEDULETYPEENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcWorkScheduleTypeEnum::createObjectFromSTEP( arg, map, errorStream ); } }
887-
};
886+
{ "IFCWORKSCHEDULETYPEENUM", []( const std::string& arg, const std::map<int, shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )->shared_ptr<BuildingObject> { return IFC4X3::IfcWorkScheduleTypeEnum::createObjectFromSTEP( arg, map, errorStream ); } }};
888887

889888
shared_ptr<BuildingObject> IFC4X3::TypeFactory::createTypeObject( const std::string& class_name_upper, const std::string& type_arg, const std::map<int, shared_ptr<BuildingEntity> >& map_entities, std::stringstream& errorStream )
890889
{

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcAbsorbedDoseMeasure.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ namespace IFC4X3
2424
double m_value;
2525
};
2626
}
27-

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcAccelerationMeasure.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ namespace IFC4X3
2424
double m_value;
2525
};
2626
}
27-

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcActionRequest.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace IFC4X3
1515
class IFCQUERY_EXPORT IfcText;
1616
//ENTITY
1717
class IFCQUERY_EXPORT IfcActionRequest : public IfcControl
18-
{
18+
{
1919
public:
2020
IfcActionRequest() = default;
2121
IfcActionRequest( int id );
@@ -68,4 +68,3 @@ namespace IFC4X3
6868
shared_ptr<IfcText> m_LongDescription; //optional
6969
};
7070
}
71-

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcActionRequestTypeEnum.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ namespace IFC4X3
3434
IfcActionRequestTypeEnumEnum m_enum;
3535
};
3636
}
37-

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcActionSourceTypeEnum.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ namespace IFC4X3
5454
IfcActionSourceTypeEnumEnum m_enum;
5555
};
5656
}
57-

IfcPlusPlus/src/ifcpp/IFC4X3/include/IfcActionTypeEnum.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ namespace IFC4X3
3232
IfcActionTypeEnumEnum m_enum;
3333
};
3434
}
35-

0 commit comments

Comments
 (0)