FCylinder

Windows
MacOS
Linux

Inheritance Hierarchy

FImplicitObject

FCylinder

References

Module

Chaos

Header

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

Include

#include "Chaos/Cylinder.h"

Syntax

class FCylinder : public Chaos::FImplicitObject

Constructors

Name Description

Public function

FCylinder

(
    const FCylinder& Other
)

Public function

FCylinder

(
    FCylinder&& Other
)

Public function

FCylinder

(
    const FVec3& x1,
    const FVec3& x2,
    const FReal Radius
)

Destructors

Name Description

Public function

~FCylinder()

Functions

Name Description

Public function Const

TArray< FVec...

 

ComputeLocalSamplePoints

(
    const FReal PointsPerUnitArea,
    const bool IncludeEndCaps,
    const int32 MinPoints,
    const int32 MaxPoints
)

Returns sample points centered about the origin.

Public function Const

TArray< FVec...

 

ComputeLocalSamplePoints

(
    const int32 NumPoints,
    const bool IncludeEndCaps
)

Returns sample points centered about the origin.

Public function Const

TArray< FVec...

 

ComputeSamplePoints

(
    const int32 NumPoints,
    const bool IncludeEndCaps
)

Returns sample points at the current location of the cylinder.

Public function Const

TArray< FVec...

 

ComputeSamplePoints

(
    const FReal PointsPerUnitArea,
    const bool IncludeEndCaps,
    const int32 MinPoints,
    const int32 MaxPoints
)

Returns sample points at the current location of the cylinder.

Public function Static

FReal

 

GetArea

(
    const FReal Height,
    const FReal Radius,
    const bool IncludeEndCaps
)

Public function Const

FReal

 

GetArea

(
    const bool IncludeEndCaps
)

Public function Const

FVec3

 

GetAxis()

Public function Const

FVec3

 

GetCenter()

Public function Const

FVec3

 

GetCenterOfMass()

Returns the centroid (center of mass).

Public function Const

FReal

 

GetHeight()

Public function Const

FMatrix33

 

GetInertiaTensor

(
    const FReal Mass
)

Public function Static

FMatrix33

 

GetInertiaTensor

(
    const FReal Mass,
    const FReal Height,
    const FReal Radius
)

Public function Const

const FVec3 ...

 

GetInsertion()

Returns the topmost point on the cylinder.

Public function Const

const FVec3 ...

 

GetOrigin()

Returns the bottommost point on the cylinder.

Public function Const

FReal

 

GetRadius()

Public function Const

FRotation3

 

GetRotationOfMass()

Public function Static

FRotation3

 

GetRotationOfMass

(
    const FVec3& Axis
)

Public function Const

FReal

 

GetVolume()

Public function Static

FReal

 

GetVolume

(
    const FReal Height,
    const FReal Radius
)

Public function Const

const FVec3 ...

 

GetX1()

Public function Const

const FVec3 ...

 

GetX2()

Public function Static

constexpr EI...

 

StaticType()

Overridden from FImplicitObject

Name Description

Public function Virtual Const

const FAABB3

 

BoundingBox()

Public function Virtual Const

FReal

 

PhiWithNormal

(
    const FVec3& x,
    FVec3& Normal
)

Find the closest point on the surface, and return the separating distance and axis.

Public function Virtual

void

 

Serialize

(
    FChaosArchive& Ar
)

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