FMeshBoolean::IsFlat

Test if the triangles connected to a vertex are all coplanar

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshBoolean.h

Include

#include "Operations/MeshBoolean.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Operations/MeshBoolean.cpp

Syntax

static bool IsFlat
(
    const FDynamicMesh3 & Mesh,
    int VID,
    double DotTolerance,
    FVector3d & OutFirstNormal
)

Remarks

Test if the triangles connected to a vertex are all coplanar

Returns

Whether all the triangles were coplanar

Parameters

Parameter

Description

Mesh

The mesh to query

VID

The vertex to query

DotTolerance

If the dot product of two normals are >= this tolerance, the normals are considered equivalent

The

normal of the first triangle attached to the vertex.

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