Navigation
API > API/Runtime > API/Runtime/CADKernel
| Name | FCriterion |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Mesh/Criteria/Criterion.h |
| Include Path | #include "Mesh/Criteria/Criterion.h" |
Syntax
class FCriterion : public UE::CADKernel::FEntity
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEntity → FCriterion
- FHaveStates → FEntity → FCriterion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCriterion() |
Mesh/Criteria/Criterion.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyOnEdgeParameters
(
FTopologicalEdge& Edge, |
Sag & Angle criterion.pdf https://docs.google.com/presentation/d/1bUnrRFWCW3sDn9ngb9ftfQS-2JxNJaUZlh783hZMMEw/edit?usp=sharing | Mesh/Criteria/Criterion.h | |
| Mesh/Criteria/Criterion.h | |||
ECriterion GetCriterionType() |
Mesh/Criteria/Criterion.h | ||
virtual bool IsAppliedBetweenBreaks() |
Mesh/Criteria/Criterion.h | ||
virtual void UpdateDelta
(
double InDeltaU, |
According to the criterion, either DeltaUMin or DeltaUMax is set e.g MinSizeCrtierion sets DeltaUMin when MaxSizeCriterion sets DeltaUMax. | Mesh/Criteria/Criterion.h | |
double Value() |
Mesh/Criteria/Criterion.h |
Overridden from FEntity
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EEntity GetEntityType() |
Mesh/Criteria/Criterion.h | ||
virtual void Serialize
(
FCADKernelArchive& Ar |
Serialization of a FEntity. | Mesh/Criteria/Criterion.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual double ComputeDeltaU
(
double ChordLength, |
Mesh/Criteria/Criterion.h | ||
void UpdateWithUMaxValue
(
double NewMaxValue, |
DeltaUMax = Max(DeltaUMin, Min(DeltaUMax, NewDeltaUMax)) | Mesh/Criteria/Criterion.h | |
void UpdateWithUMinValue
(
double NewMinValue, |
DeltaUMin = Max(DeltaUMin, NewDeltaUMin) DeltaUMin cannot be smaller than DeltaUMax, so: DeltaUMax = Max(DeltaUMax, NewDeltaUMin) | Mesh/Criteria/Criterion.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FCriterion > CreateCriterion
(
ECriterion type, |
Mesh/Criteria/Criterion.h | ||
static double DefaultValue
(
ECriterion type |
Mesh/Criteria/Criterion.h | ||
static TSharedPtr< FCriterion > Deserialize
(
FCADKernelArchive& Archive |
Specific method for curve family to instantiate the correct derived class of FCurve | Mesh/Criteria/Criterion.h | |
static double EvaluateSag
(
const FVector& PointPoint, |
Mesh/Criteria/Criterion.h | ||
static FString GetCriterionName
(
ECriterion CriterionType |
Mesh/Criteria/Criterion.h |