MCPcopy Create free account
hub / github.com/assimp/assimp / ProcessSweptAreaSolid

Function ProcessSweptAreaSolid

code/AssetLib/IFC/IFCGeometry.cpp:731–741  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

729
730// ------------------------------------------------------------------------------------------------
731void ProcessSweptAreaSolid(const Schema_2x3::IfcSweptAreaSolid& swept,
732 TempMesh& meshout,
733 ConversionData& conv) {
734 if(const Schema_2x3::IfcExtrudedAreaSolid* const solid = swept.ToPtr<Schema_2x3::IfcExtrudedAreaSolid>()) {
735 ProcessExtrudedAreaSolid(*solid,meshout,conv, !!conv.collect_openings);
736 } else if(const Schema_2x3::IfcRevolvedAreaSolid* const rev = swept.ToPtr<Schema_2x3::IfcRevolvedAreaSolid>()) {
737 ProcessRevolvedAreaSolid(*rev,meshout,conv);
738 } else {
739 IFCImporter::LogWarn("skipping unknown IfcSweptAreaSolid entity, type is ", swept.GetClassName());
740 }
741}
742
743// ------------------------------------------------------------------------------------------------
744bool ProcessGeometricItem(const Schema_2x3::IfcRepresentationItem& geo,

Callers 2

ProcessGeometricItemFunction · 0.85
ProcessBooleanFunction · 0.85

Calls 3

ProcessExtrudedAreaSolidFunction · 0.85
ProcessRevolvedAreaSolidFunction · 0.85
GetClassNameMethod · 0.80

Tested by

no test coverage detected