UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCADKernelTessellationSettings Struct Reference

#include <CADKernelEngineDefinitions.h>

+ Inheritance diagram for FCADKernelTessellationSettings:

Public Member Functions

 FCADKernelTessellationSettings (double InChordTolerance=0.2, double InMaxEdgeLength=0.0, double InNormalTolerance=20.0, ECADKernelStitchingTechnique InStitchingTechnique=ECADKernelStitchingTechnique::StitchingSew, double InGeometricTolerance=0.001, double InStichingTolerance=0.001, bool bInUseCADKernel=true)
 
bool operator== (const FCADKernelTessellationSettings &Other) const
 
uint32 GetHash () const
 
double GetGeometricTolerance (bool bInMillimeter=false) const
 
double GetStitchingTolerance (bool bInMillimeter=false) const
 
double GetChordTolerance (bool bInMillimeter=false) const
 
double GetMaxEdgeLength (bool bInMillimeter=false) const
 
bool FromJson (const FString &JsonString) const
 
FString ToJson () const
 

Public Attributes

double NormalTolerance
 
ECADKernelStitchingTechnique StitchingTechnique
 
bool bUseCADKernel = true
 
bool bResolveTJunctions = false
 
double UnitMultiplier = 0.1
 
bool bWithTechSoft = bWithHoops
 

Static Public Attributes

static bool bWithHoops
 

Protected Attributes

double ChordTolerance
 
double MaxEdgeLength
 
double GeometricTolerance = 0.001
 
double StitchingTolerance = 0.001
 

Constructor & Destructor Documentation

◆ FCADKernelTessellationSettings()

FCADKernelTessellationSettings::FCADKernelTessellationSettings ( double  InChordTolerance = 0.2,
double  InMaxEdgeLength = 0.0,
double  InNormalTolerance = 20.0,
ECADKernelStitchingTechnique  InStitchingTechnique = ECADKernelStitchingTechnique::StitchingSew,
double  InGeometricTolerance = 0.001,
double  InStichingTolerance = 0.001,
bool  bInUseCADKernel = true 
)
inline

Member Function Documentation

◆ FromJson()

bool FCADKernelTessellationSettings::FromJson ( const FString &  JsonString) const
inline

◆ GetChordTolerance()

double FCADKernelTessellationSettings::GetChordTolerance ( bool  bInMillimeter = false) const
inline

◆ GetGeometricTolerance()

double FCADKernelTessellationSettings::GetGeometricTolerance ( bool  bInMillimeter = false) const
inline

Helper functions to get geometrical values in the right unit, cm (native) or mm

◆ GetHash()

uint32 FCADKernelTessellationSettings::GetHash ( ) const
inline

◆ GetMaxEdgeLength()

double FCADKernelTessellationSettings::GetMaxEdgeLength ( bool  bInMillimeter = false) const
inline

◆ GetStitchingTolerance()

double FCADKernelTessellationSettings::GetStitchingTolerance ( bool  bInMillimeter = false) const
inline

◆ operator==()

bool FCADKernelTessellationSettings::operator== ( const FCADKernelTessellationSettings Other) const
inline

◆ ToJson()

FString FCADKernelTessellationSettings::ToJson ( ) const
inline

Member Data Documentation

◆ bResolveTJunctions

bool FCADKernelTessellationSettings::bResolveTJunctions = false

Indicates which tessellator to use CADKernel or TechSoft. By default it is CADKernel.

◆ bUseCADKernel

bool FCADKernelTessellationSettings::bUseCADKernel = true

Indicates which tessellator to use CADKernel or TechSoft. By default it is CADKernel.

◆ bWithHoops

bool FCADKernelTessellationSettings::bWithHoops
static

◆ bWithTechSoft

bool FCADKernelTessellationSettings::bWithTechSoft = bWithHoops

◆ ChordTolerance

double FCADKernelTessellationSettings::ChordTolerance
protected

Maximum distance between any point on a triangle generated by the tessellation process and the actual surface. The lower the value the more triangles. Default value is 0.2, minimal value is 0.005 cm.

◆ GeometricTolerance

double FCADKernelTessellationSettings::GeometricTolerance = 0.001
protected

Tolerance used to determine if a surface should be tessellate or not. Any surface which is narrower than the geometric tolerance in one of the iso direction will not be tessellated Value is in centimeter

◆ MaxEdgeLength

double FCADKernelTessellationSettings::MaxEdgeLength
protected

Maximum length of edges of triangles generated by the tessellation process. The length is in scene/model unit. The smaller the more triangles are generated. Value of 0 means no constraint on length of edges Default value is 0 to disable this criteria, and 1. cm is its minimal value if enable.

◆ NormalTolerance

double FCADKernelTessellationSettings::NormalTolerance

Maximum angle between the normal of two triangles generated by the tessellation process. The angle is expressed in degree. The smaller the more triangles are generated. Default value is 20 degrees, min value is 5 degrees.

◆ StitchingTechnique

ECADKernelStitchingTechnique FCADKernelTessellationSettings::StitchingTechnique

Stitching technique applied on neighboring surfaces before tessellation. None : No stitching applied. This is the default. Sewing : Connects surfaces which physically share a boundary but not topologically within a set of objects. This technique can modify the structure of the model by removing and adding objects. Healing : Connects surfaces which physically share a boundary but not topologically within an object.

◆ StitchingTolerance

double FCADKernelTessellationSettings::StitchingTolerance = 0.001
protected

Tolerance used to determine if two surfaces should be stitched. Value is in centimeter

◆ UnitMultiplier

double FCADKernelTessellationSettings::UnitMultiplier = 0.1

The documentation for this struct was generated from the following file: