Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/LineSegmentGenerators.h |
Include |
#include "Generators/LineSegmentGenerators.h" |
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
)
}
}
Call EmitLineFunc for the line segments that make up the Circular Arc defined by the given parameters and sampled with NumSteps vertices
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 |