UE::Geometry::GenerateArcSegments

Call EmitLineFunc for the line segments that make up the Circular Arc defined by the given parameters and sampled with NumSteps vertices

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/LineSegmentGenerators.h

Include

#include "Generators/LineSegmentGenerators.h"

Syntax

namespace UE
{
    namespace Geometry
    {
        template<typename RealType>
        void UE::Geometry::GenerateArcSegments
        (
            int32 NumSteps,
            RealType Radius,
            RealType StartAngle,
            RealType EndAngle,
            const FVector3< RealType > & Center,
            const FVector3< RealType > & AxisX,
            const FVector3< RealType > & AxisY,
            const TTransform3< RealType > & Transform,
            TFunctionRef< void< RealType > &A, const FVector3< RealType > &B)> EmitLineFunc
        )
    }
}

Remarks

Call EmitLineFunc for the line segments that make up the Circular Arc defined by the given parameters and sampled with NumSteps vertices

Parameters

Parameter

Description

NumSteps

number of vertices used to approximate arc

Radius

radius of arc

StartAngle

arc starts at this angle

EndAngle

arc ends at this angle

AxisX

first axis of arc

AxisY

second axis of arc

Transform

transform applied to each point

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