RevolveUtil::WeldPointsOnAxis

Checks the profile curve for points that lie within a particular tolerance of the revolution axis.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/RevolveUtil.h

Include

#include "Util/RevolveUtil.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Util/RevolveUtil.cpp

Syntax

namespace RevolveUtil
{
    GEOMETRICOBJECTS_API void RevolveUtil::WeldPointsOnAxis
    (
        TArray< FVector3d > & ProfileCurve,
        const FVector3d & RevolutionAxisOrigin,
        const FVector3d & RevolutionAxisDirection,
        double Tolerance,
        TSet< int32 > & ProfileVerticesToWeldOut
    )
}

Remarks

Checks the profile curve for points that lie within a particular tolerance of the revolution axis. If they are found, the points are projected directly onto the revolution axis and their indices are added to a set of welded points.

Assumes that RevolutionAxisDirection is normalized.

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