UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::FMesherTools Class Reference

#include <MesherTools.h>

Static Public Member Functions

static void ComputeFinalCuttingPointsWithPreferredCuttingPoints (const TArray< double > &CrossingUs, TArray< double > DeltaUs, const TArray< FCuttingPoint > &PreferredCuttingPoints, const FLinearBoundary &Boundary, TArray< double > &OutCuttingPoints)
 
static void ComputeFinalCuttingPointsWithImposedCuttingPoints (const TArray< double > &CrossingUs, const TArray< double > &DeltaUs, const TArray< FCuttingPoint > &ImposedCuttingPoints, TArray< double > &OutCuttingPoints)
 
static void FillCuttingPointCoordinates (const FLinearBoundary &Boundary, int32 PointCount, TArray< double > &OutCuttingPointCoordinates)
 
static void FillImposedIsoCuttingPoints (TArray< double > &UEdgeSetOfIntersectionWithIso, ECoordinateType CoordinateType, double EdgeToleranceGeo, const FTopologicalEdge &Edge, TArray< FCuttingPoint > &OutImposedIsoVertexSet)
 

Member Function Documentation

◆ ComputeFinalCuttingPointsWithImposedCuttingPoints()

void UE::CADKernel::FMesherTools::ComputeFinalCuttingPointsWithImposedCuttingPoints ( const TArray< double > &  CrossingUs,
const TArray< double > &  DeltaUs,
const TArray< FCuttingPoint > &  ImposedCuttingPoints,
TArray< double > &  OutCuttingPoints 
)
static

The purpose of this method is to compute the cutting of a face or an edge by using the imposed cuttings. In input a set of coordinate (CrossingUs) and the DeltaU between each coordinate (DeltaUs) which makes it possible to respect the mesh criteria.

By analogy with a travel:

  • the target time between each cutting points is one
  • the speed of the travel at a point p(u) is DeltaUs(u)

Between each imposed cutting points Step 1: Define the number of step (each step lasts one) as it must be an integer bigger than 1 Step 2: Adjust the speeds than the travel respect the count of step Step 3: Compute the steps until the next imposed point

Mandatory: ImposedCuttingPoints[0] == UMin && ImposedCuttingPoints.Last() == UMax,

◆ ComputeFinalCuttingPointsWithPreferredCuttingPoints()

void UE::CADKernel::FMesherTools::ComputeFinalCuttingPointsWithPreferredCuttingPoints ( const TArray< double > &  CrossingUs,
TArray< double DeltaUs,
const TArray< FCuttingPoint > &  PreferredCuttingPoints,
const FLinearBoundary Boundary,
TArray< double > &  OutCuttingPoints 
)
static

The purpose of this method is to compute the cutting of a face or an edge by preferring as soon as possible the suggested cuttings. In input a set of coordinate (CrossingUs) and the DeltaU between each coordinate (DeltaUs) which makes it possible to respect the mesh criteria.

By analogy with a travel:

  • the target time between each cutting points is one
  • the speed of the travel at a point p(u) is DeltaUs(u)

Step 1: Compute the number of mesh nodes i.e. compute the time of the travel between Boundary.Min and Boundary.Max with the initial speeds DeltaUs Step 2: Define the number of step (each step lasts one) as it must be an integer bigger than 1 Step 3: Adjust the speeds than the travel respect the count of step Step 4: Define the steps (if a preferred step is near the next step, the preferred step is used)

Mandatory: PreferredCuttingPoints.Last() == UMax,

◆ FillCuttingPointCoordinates()

static void UE::CADKernel::FMesherTools::FillCuttingPointCoordinates ( const FLinearBoundary Boundary,
int32  PointCount,
TArray< double > &  OutCuttingPointCoordinates 
)
inlinestatic

Fill an array of CuttingPointCoordinates with "PointCount" coordinates evenly divided between the extremities of the boundary

◆ FillImposedIsoCuttingPoints()

void UE::CADKernel::FMesherTools::FillImposedIsoCuttingPoints ( TArray< double > &  UEdgeSetOfIntersectionWithIso,
ECoordinateType  CoordinateType,
double  EdgeToleranceGeo,
const FTopologicalEdge Edge,
TArray< FCuttingPoint > &  OutImposedIsoVertexSet 
)
static

The documentation for this class was generated from the following files: