UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_DOUBLE_SMALL_NUMBER
Definition UnrealMathUtility.h:139
Definition FunctionFwd.h:19
Definition DynamicMesh3.h:108
Definition LocalPlanarSimplify.h:26
float NormalDistortTolerance
Definition LocalPlanarSimplify.h:49
float UVDistortTolerance
Definition LocalPlanarSimplify.h:45
bool bPreserveVertexNormals
Definition LocalPlanarSimplify.h:47
static GEOMETRYCORE_API bool IsDevelopableAlongEdge(const FDynamicMesh3 &Mesh, int EID, int VID, double DotTolerance, FVector3d &NormalA, bool &bIsFlat)
Definition LocalPlanarSimplify.cpp:36
double SimplificationAngleTolerance
Definition LocalPlanarSimplify.h:31
bool bPreserveVertexUVs
Definition LocalPlanarSimplify.h:41
bool bPreserveTriangleGroups
Definition LocalPlanarSimplify.h:39
static GEOMETRYCORE_API bool CollapseWouldChangeShapeOrUVs(const FDynamicMesh3 &Mesh, const TSet< int > &PathEdgeSet, double DotTolerance, int SourceEID, int32 RemoveV, const FVector3d &RemoveVPos, int32 KeepV, const FVector3d &KeepVPos, const FVector3d &EdgeDir, bool bPreserveTriangleGroups, bool bPreserveUVsForMesh, bool bPreserveVertexUVs, bool bPreserveOverlayUVs, float UVToleranceSq, bool bPreserveVertexNormals, float NormalEqualCosThreshold)
Definition LocalPlanarSimplify.cpp:164
static GEOMETRYCORE_API bool CollapseWouldHurtTriangleQuality(const FDynamicMesh3 &Mesh, const FVector3d &RemoveVNormal, int32 RemoveV, const FVector3d &RemoveVPos, int32 KeepV, const FVector3d &KeepVPos, double TryToImproveTriQualityThreshold, bool bHasMultipleNormals=false)
Definition LocalPlanarSimplify.cpp:73
static GEOMETRYCORE_API bool IsFlat(const FDynamicMesh3 &Mesh, int VID, double DotTolerance, FVector3d &OutFirstNormal)
Definition LocalPlanarSimplify.cpp:12
double TryToImproveTriQualityThreshold
Definition LocalPlanarSimplify.h:37
GEOMETRYCORE_API void SimplifyAlongEdges(FDynamicMesh3 &Mesh, TSet< int32 > &InOutEdges, TUniqueFunction< void(const DynamicMeshInfo::FEdgeCollapseInfo &)> ProcessCollapse=nullptr) const
Definition LocalPlanarSimplify.cpp:391
bool bPreserveOverlayUVs
Definition LocalPlanarSimplify.h:43
static GEOMETRYCORE_API void CollapseDegenerateEdges(FDynamicMesh3 &Mesh, TSet< int32 > &InOutEdges, bool bRemoveAllDegenerateFromInputSet=false, double DegenerateEdgeLenTol=UE_DOUBLE_SMALL_NUMBER, TSet< int > *TriangleSelection=nullptr)
Definition LocalPlanarSimplify.cpp:517
Definition AdvancedWidgetsModule.cpp:13
Definition InfoTypes.h:181