FMeshConstraints

[FMeshConstraints](API\Plugins\DynamicMesh\FMeshConstraints) is a set of Edge and Vertex constraints for a Triangle Mesh

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraints.h

Include

#include "MeshConstraints.h"

Syntax

class FMeshConstraints

Remarks

FMeshConstraints is a set of Edge and Vertex constraints for a Triangle Mesh

Variables

Name Description

Protected variable

TMap< int, FEdg...

 

Edges

Map of mesh edge IDs to active EdgeConstraints

Protected variable

int

 

FixedSetIDCounter

Internal counter used to allocate new FixedSetIDs

Protected variable

TMap< int, FVer...

 

Vertices

Map of mesh vertex IDs to active VertexConstraints

Constructors

Name Description

Public function

FMeshConstraints()

Functions

Name Description

Public function

int

 

AllocateSetID()

Public function

void

 

ClearEdgeConstraint

(
    int EdgeID
)

Clear the constraint on the given EdgeID

Public function

void

 

ClearVertexConstraint

(
    int VertexID
)

Clear the constraint on the given VertexID

Public function Const

void

 

FindConstrainedEdgesBySetID

(
    int SetID,
    TArray< int >& FoundListOut
)

Find all constraint edges for the given SetID, and return via FoundListOut

Public function Const

FEdgeConstra...

 

GetEdgeConstraint

(
    int EdgeID
)

Public function Const

bool

 

GetEdgeConstraint

(
    int EdgeID,
    FEdgeConstraint& ConstraintOut
)

Public function Const

const TMap< ...

 

GetEdgeConstraints()

Public function Const

FVertexConst...

 

GetVertexConstraint

(
    int VertexID
)

Public function Const

bool

 

GetVertexConstraint

(
    int VertexID,
    FVertexConstraint& ConstraintOut
)

Public function Const

const TMap< ...

 

GetVertexConstraints()

Public function Const

bool

 

HasConstraints()

Public function Const

bool

 

HasEdgeConstraint

(
    int EdgeID
)

Public function Const

bool

 

HasVertexConstraint

(
    int VertexID
)

Public function

void

 

SetOrUpdateEdgeConstraint

(
    int EdgeID,
    const FEdgeConstraint& ec
)

Set the constraint on the given EdgeID

Public function

void

 

SetOrUpdateVertexConstraint

(
    int VertexID,
    const FVertexConstraint& vc
)

Set the constraint on the given VertexID

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss