Jimmy Andrews
571b3c262d
Fix ConstrainedDelaunay2 Add() function being overloaded in two ways; make the new Add be more-specifically-named AddWithIntersectionResolution
...
#rb michael.balzer
#rb david.hill
#preflight 630fa8cc556fc14dce9c74d1
#jira UE-162641
[CL 21726042 by Jimmy Andrews in ue5-main branch]
2022-08-31 15:14:58 -04:00
Jimmy Andrews
4baf1c84e0
non-unity build fixes for polygonintersectionutils.h
...
#preflight 630ed0ff501b64ba335839ab
[CL 21716892 by Jimmy Andrews in ue5-main branch]
2022-08-30 23:45:44 -04:00
jimmy andrews
9cb9952297
Make Arrangment2d not fail/ensure on a degenerate input (collapsed to a single point)
...
#rb ryan.schmidt
#preflight 630e4d330345de4ccfb87600
[CL 21710498 by jimmy andrews in ue5-main branch]
2022-08-30 17:40:48 -04:00
Jimmy Andrews
c739875cc3
Add test coverage to ensure that Clipper's Union operation can also be used to resolve self-intersections via union-with-empty
...
#rb rinat.abdrashitov
#preflight 630d89f80345de4ccf9b59ed
[CL 21703980 by Jimmy Andrews in ue5-main branch]
2022-08-30 12:44:16 -04:00
michael balzer
b7c701b8e7
Clipper2 TPS library: Disable "Dereferencing NULL pointer" warnings
...
#jira UE-161452
#preflight 6309141a66150c7b753a0a28
[CL 21596120 by michael balzer in ue5-main branch]
2022-08-26 15:04:00 -04:00
Joe Kirchoff
fa80772aea
Fix undefined symbols when running clang analyzer in xatlas.cpp
...
Add check to CollisionConvexMesh.h to supress null reference warning by request
Suppress cplusplus.NewDeleteLeaks warnings in Chaos by request
#rnx
#rb trivial
#jira UE-160884
#preflight 630676ac0061f895d04b88fe
[CL 21549010 by Joe Kirchoff in ue5-main branch]
2022-08-24 15:16:09 -04:00
bryan sefcik
a441877636
Updated several modules to have UnsafeTypeCastWarningLevel be an error so it matches other modules. This helps compile times because there will be less shared PCHs created.
...
#jira
#preflight 62ffcfb5fa1ac183e592146a
[CL 21461486 by bryan sefcik in ue5-main branch]
2022-08-19 14:30:30 -04:00
george rolfe
bf0f26478e
Clipper non-unity fix and commenting out of functions containing exceptions, both of which aren't used at all
...
#jira none
#rb none
#preflight 62fee73c9835a27d8d7b4c04
[CL 21453524 by george rolfe in ue5-main branch]
2022-08-18 21:46:55 -04:00
Jimmy Andrews
5c1c2c6670
cis fix for geometryalgorithms / clipper library: remove all throws from clipper library, rather than try to fix them with defines
...
#preflight 62feb8bd3f75602b2f227d22
[CL 21451916 by Jimmy Andrews in ue5-main branch]
2022-08-18 18:58:11 -04:00
George Rolfe
533740707f
Clipper cis fix
...
#jira none
#rb none
#preflight 62fe47bd0f2aefc97af89e28
[CL 21442990 by George Rolfe in ue5-main branch]
2022-08-18 11:32:10 -04:00
George Rolfe
fd9eafdc4b
GeometryProcessing clipper lib integration and exposed functionality
...
#jira UE-161308
#rb jimmy.andrews
#preflight 62fe3d930f2aefc97af68d16
[CL 21441167 by George Rolfe in ue5-main branch]
2022-08-18 09:40:40 -04:00
Jimmy Andrews
c21b7d49f3
Add new oriented box fit variant that starts from the fast DiTO box and optimizes the fit iteratively
...
+ Add ProgressCancel to box fits
+ Change editor code to use the new fit algorithms
#rb rinat.abdrashitov
#rb david.hill
#preflight 62f15a2ba035cdf05ea4d1b7
[CL 21273458 by Jimmy Andrews in ue5-main branch]
2022-08-08 15:20:28 -04:00
David Hill
55f9b1e1de
GeometryProcessing and tests: enable implicit type conversion warnings.
...
#preflight 62d96d6723003b62a3c134f8
#rnx
[CL 21201814 by David Hill in ue5-main branch]
2022-07-21 11:48:13 -04:00
David Hill
9f5eeac1e3
Geometry: Suppress type conversion warnings in third party on clang
...
#preflight 62d6fdcdd54af4b9a29176a2
#rnx
[CL 21185144 by David Hill in ue5-main branch]
2022-07-20 14:04:32 -04:00
David Hill
3feeb2386c
Geometry: fix clang warning on android with 3rd party code.
...
#preflight none
#rnx
[CL 21165207 by David Hill in ue5-main branch]
2022-07-19 14:27:26 -04:00
David Hill
612f70bd55
GeometryCore, GeometryProcessing: Add pragmas to suppress implicit type conversion warnings when compiling third party code.
...
Predicates.cpp and xaltas.cpp
#preflight 62d6cf9d1133256db6e4624a
#rb Jimmy.Andrews
[CL 21164760 by David Hill in ue5-main branch]
2022-07-19 13:53:50 -04:00
Jimmy Andrews
5214f714b5
Add a new FitOrientedBox3 algorithm
...
+ fixes to the similar Gte algorithm and to FitOrientedBox2
+ Add a Contain(Array) for TAxisAlignedBox3
+ Add option to save triangle adjacencies on computed 3D convex hull (since we already compute them)
+ Fix plane returned for degenerate convex hull result when Dimension=2
+ Let FitOrientedBox2 functions take a custom best-fit function, so that they can be used in the inner loop of FitOrientedBox3 when searching for the best-fit surface area
#rb david.hill
#preflight 62d56a783c3df32390b32263
[CL 21149570 by Jimmy Andrews in ue5-main branch]
2022-07-18 12:17:27 -04:00
tyson brochu
3feb275644
Fixing a few unsafe typecasts
...
#rb jimmy.andrews nathan.mitchell
#preflight 62b213171b2d3b6cafd334e5
[CL 20763388 by tyson brochu in ue5-main branch]
2022-06-21 15:15:57 -04:00
Jimmy Andrews
ab97b27e36
make GteMinimumVolumeBox3 robust to failing to find a convex projection for some faces
...
also fix bug where ProcessEdges results were always ignored and, in light of that bug, add an option to skip ProcessEdges
#jira UE-156689
#rb david.hill
#preflight 62aa0006273ce16835c369d7
[CL 20671337 by Jimmy Andrews in ue5-main branch]
2022-06-15 12:08:38 -04:00
jimmy andrews
d1222a4aa3
fix mac build of ConstraintedDelaunay2: Graph.Edges() iterator does not return items by reference
...
#jira UE-154040
#rb michael.balzer
#preflight 628e3a4deb57f851e227961c
#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 20379998 in //UE5/Release-5.0/... via CL 20381853
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)
[CL 20385124 by jimmy andrews in ue5-main branch]
2022-05-26 16:45:41 -04:00
Jimmy Andrews
20f8e9cd7e
Make a new triangulation fill mode that supports explicit boundary and hole edges
...
Update Arrangement2d's triangulation functions to use that fill mode, and also to be explicit about whether the boundary group is expected or not
#rb david.hill
#rb rinat.abdrashitov
#preflight 6269606c8c2782e4f2327a34
[CL 19941732 by Jimmy Andrews in ue5-main branch]
2022-04-27 12:30:18 -04:00
Jimmy Andrews
ec5013e106
change FArrangement2d and TConstrainedDelaunay2 to use new FDelaunay2 code for triangulations
...
#rb david.hill
#preflight 6247dfee3a5a4c1622eb077b
[CL 19628412 by Jimmy Andrews in ue5-main branch]
2022-04-05 14:07:13 -04:00
jimmy andrews
a79fa698b4
remove ensures from ConstrainedDelaunay2, fix comment to clarify when the previously-ensured-against condition can happen even for a robust CDT
...
#rb trivial
#jira UE-140831
#preflight 61f96d25a6632a34f3768afa
#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18810567 in //UE5/Release-5.0/... via CL 18810595 via CL 18822698
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823626 by jimmy andrews in ue5-main branch]
2022-02-02 05:54:21 -05:00
lonnie li
3c1ff1b219
ModelingTools: Fix XAtlas AutoUV placing UVs outside of the unit square.
...
#rb tyson.brochu
#rnx
#jira UE-137833
#preflight skip
#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 18562443 in //UE5/Release-5.0/... via CL 18562452
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)
[CL 18562466 by lonnie li in ue5-release-engine-test branch]
2022-01-10 13:24:02 -05:00
michael balzer
b8a1c9b6cf
GeometryCore: Remove ExplicitUseGeometryMathTypes.h
...
#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18227685 in //UE5/Release-5.0/... via CL 18229350
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main
[CL 18231457 by michael balzer in ue5-release-engine-test branch]
2021-11-17 19:02:44 -05:00