UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Mesher.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
Core/Chrono.h
"
5
#include "
Core/Types.h
"
6
7
namespace
UE::CADKernel
8
{
9
class
FModelMesh;
10
class
FTopologicalShapeEntity;
11
12
class
CADKERNEL_API
FMesher
13
{
14
protected
:
15
16
double
GeometricTolerance
;
17
bool
bThinZoneMeshing =
false
;
18
19
FModelMesh
&
MeshModel
;
20
21
public
:
22
23
FMesher
(
FModelMesh
&
InMeshModel
,
double
GeometricTolerance
,
bool
bActivateThinZoneMeshing
);
24
25
void
MeshEntities(
TArray<FTopologicalShapeEntity*>
&
InEntities
);
26
27
void
MeshEntity
(
FTopologicalShapeEntity
&
InEntity
)
28
{
29
TArray<FTopologicalShapeEntity*>
Entities;
30
Entities.
Add
(&
InEntity
);
31
MeshEntities(Entities);
32
}
33
};
34
35
}
// namespace UE::CADKernel
36
Chrono.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Types.h
EMeshApproximationSimplificationPolicy::GeometricTolerance
@ GeometricTolerance
TArray
Definition
Array.h:670
TArray::Add
UE_NODEBUG UE_FORCEINLINE_HINT SizeType Add(ElementType &&Item)
Definition
Array.h:2696
UE::CADKernel::FMesher
Definition
Mesher.h:13
UE::CADKernel::FMesher::MeshModel
FModelMesh & MeshModel
Definition
Mesher.h:19
UE::CADKernel::FMesher::GeometricTolerance
double GeometricTolerance
Definition
Mesher.h:16
UE::CADKernel::FMesher::MeshEntity
void MeshEntity(FTopologicalShapeEntity &InEntity)
Definition
Mesher.h:27
UE::CADKernel::FModelMesh
Definition
ModelMesh.h:21
UE::CADKernel::FTopologicalShapeEntity
Definition
TopologicalShapeEntity.h:14
UE::CADKernel
Definition
CADEntity.cpp:23
Engine
Source
Runtime
Datasmith
CADKernel
Base
Public
Mesh
Meshers
Mesher.h
Generated by
1.9.8