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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback