TCylinderSpecializeSamplingHelper

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Cylinder.h

Include

#include "Chaos/Cylinder.h"

Syntax

template<typename T>
struct TCylinderSpecializeSamplingHelper

Functions

Name Description

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< TVector< T, 3 >>& Points,
    const TCylinder< T >& Cylinder,
    const int32 NumPoints,
    const bool IncludeEndCaps
)

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< TVector< T, 3 >>& Points,
    const TVector< T, 3 >& Origin,
    const TVector< T, 3 >& Axis,
    const T Radius,
    const T Height,
    const int32 NumPoints,
    const bool IncludeEndCaps,
    int32 SpiralSeed
)

Use the golden spiral method to generate evenly spaced points on a cylinder.

Public function Static

void

 

ComputeGoldenSpiralPointsUnoriented

(
    TArray< TVector< T, 3 >>& Points,
    const T Radius,
    const T Height,
    const int32 NumPoints,
    const bool IncludeEndCaps,
    int32 SpiralSeed
)

Generates evenly spaced points on a cylinder, oriented about the Z axis, varying from [-Height/2, Height/2].

Public function Static

void

 

ComputeSamplePoints

(
    TArray< TVector< T, 3 >>& Points,
    const TCylinder< T >& Cylinder,
    const int32 NumPoints,
    const bool IncludeEndCaps
)

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