Skip to content

Commit 78f3824

Browse files
committed
improve PolyInputCache3D
1 parent 2f15dbd commit 78f3824

File tree

10 files changed

+493
-598
lines changed

10 files changed

+493
-598
lines changed

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ bin
2727
bin32
2828
/build/
2929
.hg/
30+
.vs/*
3031
examples/SimpleViewerExampleQt/dumpEntity.ifc
3132
examples/SimpleViewerExampleQt/SimpleWall.ifc
3233
examples/SimpleViewerExampleQt/GeneratedFiles/
@@ -35,17 +36,15 @@ external/Carve/build/
3536
examples/CreateIfcWallAndWriteFile/x64/
3637
examples/CreateIfcWallAndWriteFile/SimpleWall.ifc
3738
examples/LoadFileWithGeometryExampleConsole/dump_mesh_debug.txt
38-
IfcPlusPlus-*
39-
IfcPlusPlus/src/ifcpp/geometry/Carve - Copy/
40-
IfcPlusPlus/src/ifcpp-
41-
IfcPlusPlus/src/ifcpp--
39+
IfcPlusPlus/src/ifcpp-/
40+
IfcPlusPlus/src/ifcpp--/
4241
IfcPlusPlus/src/ifcpp---/
4342
IfcPlusPlus/src/ifcpp----/
4443
examples/LoadFileExample/dump_mesh_debug.txt
4544
examples/CreateIfcWallAndWriteFile/example.ifc
4645
examples/SimpleViewerExampleQt/SimpleViewerExampleQt.vcxproj.user
4746
examples/SimpleViewerExampleQt/SimpleViewerExampleQt.vcxproj.user
48-
.vs/IfcPlusPlus/v17/DocumentLayout.json
4947
examples/SimpleViewerExampleQt/.vs/SimpleViewerExampleQt/v17/DocumentLayout.json
5048
examples/LoadFileExample/.vs/LoadFileExample/v17/DocumentLayout.json
5149
examples/SimpleViewerExampleQt2/
50+
examples/SimpleViewerExampleQt/.vs/

IfcPlusPlus.sln

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|x64 = Debug|x64
1010
Release|x64 = Release|x64
11+
ReleaseWithDebugInfo|x64 = ReleaseWithDebugInfo|x64
1112
EndGlobalSection
1213
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1314
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.Debug|x64.ActiveCfg = Debug|x64
1415
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.Debug|x64.Build.0 = Debug|x64
1516
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.Release|x64.ActiveCfg = Release|x64
1617
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.Release|x64.Build.0 = Release|x64
18+
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.ReleaseWithDebugInfo|x64.ActiveCfg = ReleaseWithDebugInfo|x64
19+
{9700AD93-4F6B-484A-BA34-FC4C97E5C645}.ReleaseWithDebugInfo|x64.Build.0 = ReleaseWithDebugInfo|x64
1720
EndGlobalSection
1821
GlobalSection(SolutionProperties) = preSolution
1922
HideSolutionNode = FALSE
2023
EndGlobalSection
2124
GlobalSection(ExtensibilityGlobals) = postSolution
22-
SolutionGuid = {EE8FBA93-1179-406C-B2C6-2445EBDB28A8}
2325
QtVersion = 6.7.0
26+
SolutionGuid = {EE8FBA93-1179-406C-B2C6-2445EBDB28A8}
2427
EndGlobalSection
2528
EndGlobal

IfcPlusPlus/IfcPlusPlus.vcxproj

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<Configuration>Debug</Configuration>
66
<Platform>x64</Platform>
77
</ProjectConfiguration>
8+
<ProjectConfiguration Include="ReleaseWithDebugInfo|x64">
9+
<Configuration>ReleaseWithDebugInfo</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
812
<ProjectConfiguration Include="Release|x64">
913
<Configuration>Release</Configuration>
1014
<Platform>x64</Platform>
@@ -30,6 +34,14 @@
3034
<CharacterSet>Unicode</CharacterSet>
3135
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
3236
</PropertyGroup>
37+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWithDebugInfo|x64'" Label="Configuration">
38+
<ConfigurationType>StaticLibrary</ConfigurationType>
39+
<UseDebugLibraries>false</UseDebugLibraries>
40+
<PlatformToolset>v143</PlatformToolset>
41+
<WholeProgramOptimization>true</WholeProgramOptimization>
42+
<CharacterSet>Unicode</CharacterSet>
43+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
44+
</PropertyGroup>
3345
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3446
<ImportGroup Label="ExtensionSettings">
3547
</ImportGroup>
@@ -39,6 +51,9 @@
3951
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
4052
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
4153
</ImportGroup>
54+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWithDebugInfo|x64'" Label="PropertySheets">
55+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56+
</ImportGroup>
4257
<PropertyGroup Label="UserMacros" />
4358
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
4459
<OutDir>bin\</OutDir>
@@ -50,6 +65,11 @@
5065
<OutDir>bin\</OutDir>
5166
<IntDir>bin\$(Configuration)\</IntDir>
5267
</PropertyGroup>
68+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWithDebugInfo|x64'">
69+
<OutDir>bin\</OutDir>
70+
<IntDir>bin\$(Configuration)\</IntDir>
71+
<TargetName>$(ProjectName)rd</TargetName>
72+
</PropertyGroup>
5373
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5474
<ClCompile>
5575
<WarningLevel>Level3</WarningLevel>
@@ -126,6 +146,53 @@
126146
<LinkLibraryDependencies>true</LinkLibraryDependencies>
127147
</ProjectReference>
128148
</ItemDefinitionGroup>
149+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWithDebugInfo|x64'">
150+
<ClCompile>
151+
<WarningLevel>Level3</WarningLevel>
152+
<Optimization>MaxSpeed</Optimization>
153+
<FunctionLevelLinking>true</FunctionLevelLinking>
154+
<IntrinsicFunctions>false</IntrinsicFunctions>
155+
<AdditionalIncludeDirectories>.;.\src;src\ifcpp;src\ifcpp\IFC4X3\include;.\src\external\;.\src\external\RapidJSON;.\src\external\glm;src/external/Carve;src/external/Carve/src;src/external/Carve/src/common;src/external/Carve/src/lib;src/external/Carve/src/include;src/external/Carve/src/include/carve;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
156+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
157+
<PreprocessorDefinitions>UNICODE;WIN32;_WINDOWS;NDEBUG;_MBCS;IFCQUERY_LIB;IFCQUERY_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158+
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
159+
<FloatingPointExceptions>true</FloatingPointExceptions>
160+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
161+
<WholeProgramOptimization>true</WholeProgramOptimization>
162+
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
163+
<AdditionalOptions>
164+
</AdditionalOptions>
165+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
166+
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
167+
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
168+
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
169+
<LanguageStandard>stdcpp20</LanguageStandard>
170+
<DisableSpecificWarnings>4267;4244</DisableSpecificWarnings>
171+
<BrowseInformation>
172+
</BrowseInformation>
173+
</ClCompile>
174+
<Link>
175+
<EnableCOMDATFolding>
176+
</EnableCOMDATFolding>
177+
<OptimizeReferences>
178+
</OptimizeReferences>
179+
<AdditionalDependencies>
180+
</AdditionalDependencies>
181+
<AdditionalLibraryDirectories>
182+
</AdditionalLibraryDirectories>
183+
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
184+
<GenerateDebugInformation>true</GenerateDebugInformation>
185+
</Link>
186+
<PostBuildEvent>
187+
<Command>
188+
</Command>
189+
</PostBuildEvent>
190+
<ProjectReference>
191+
<UseLibraryDependencyInputs>
192+
</UseLibraryDependencyInputs>
193+
<LinkLibraryDependencies>true</LinkLibraryDependencies>
194+
</ProjectReference>
195+
</ItemDefinitionGroup>
129196
<ItemGroup>
130197
<ClCompile Include="src\ifcpp\geometry\CSG_Adapter.cpp" />
131198
<ClCompile Include="src\ifcpp\geometry\CurveConverter.cpp" />

0 commit comments

Comments
 (0)