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
jimmy andrews
bbfc0ffb9b
add better comment + alternate call to the CDT helper function, to make it easier to use
...
#rnx
#rb tyson.brochu
#preflight 61898fe39239fd6016e7b45e
#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18094779 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 18094860 by jimmy andrews in ue5-release-engine-test branch]
2021-11-08 17:50:00 -05:00
jimmy andrews
ee57dd4ec7
Update TriangulateSimplePolygon to by-default orient its output triangles in the most-often-desired orientation (w/ triangle winding the opposite of the polygon winding, for example this is desirable when the polygon is generated from boundary edges on a hole to be filled)
...
Add test coverage for polygon triangulation functions to ensure they create triangulations with the expected orientations
#jira UE-133286
#rb rinat.abdrashitov
#rnx
#preflight 6181fc82612e950001c9b4ee
#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18032811 in //UE5/Release-5.0/... via CL 18032831
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main
[CL 18032838 by jimmy andrews in ue5-release-engine-test branch]
2021-11-03 09:39:16 -04:00
ryan schmidt
6437ecc4a1
GeometryCore: replace all usage of GeometryCore FVector3<T> with TVector<T>, remove FVector3<T> and GVector4<T>
...
#rb none
#rnx
#jira none
#preflight 614ce33574f7e70001ea822b
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17617027 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 17617043 by ryan schmidt in ue5-release-engine-test branch]
2021-09-23 19:38:55 -04:00
ryan schmidt
4e422005cd
GeometryCore: Add minimal UE::Math::TVector2<T> implementation and FVector2f/2d typedefs locally in GeometryCore VectorTypes.h. Replace existing FVector2<T> with this class, in preparation for LWC conversion. FVector2 members ::Distance() and ::DistanceSquared() moved to free functions. Update all call sites and references to FVector2.
...
#rb jimmy.andrews
#rnx
#jira none
#preflight 612d248c423a8f00013287f2
#ROBOMERGE-SOURCE: CL 17359821 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)
[CL 17359838 by ryan schmidt in ue5-release-engine-test branch]
2021-08-30 18:03:07 -04:00
michael balzer
ba195473cd
GeometryProcessing: Move plugin from Experimental to Runtime
...
#jira UETOOL-3823
#rb ryan.schmidt
#ROBOMERGE-SOURCE: CL 16958628 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
[CL 16958640 by michael balzer in ue5-release-engine-test branch]
2021-07-26 14:07:13 -04:00