FTaperedCapsule

Windows
MacOS
Linux

Inheritance Hierarchy

FImplicitObject

FTaperedCapsule

References

Module

Chaos

Header

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

Include

#include "Chaos/TaperedCapsule.h"

Syntax

class FTaperedCapsule : public Chaos::FImplicitObject

Constructors

Name Description

Public function

FTaperedCapsule()

Public function

FTaperedCapsule

(
    const FTaperedCapsule& Other
)

Public function

FTaperedCapsule

(
    FTaperedCapsule&& Other
)

Public function

FTaperedCapsule

(
    const FVec3& X1,
    const FVec3& X2,
    const FReal Radius1,
    const FReal Radius2
)

Destructors

Name Description

Public function

~FTaperedCapsule()

Functions

Name Description

Public function Const

TArray< FVec...

 

ComputeLocalSamplePoints

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

Returns sample points centered about the origin.

Public function Const

TArray< FVec...

 

ComputeLocalSamplePoints

(
    const int32 NumPoints
)

Returns sample points centered about the origin.

Public function Const

TArray< FVec...

 

ComputeSamplePoints

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

Returns sample points at the current location of the capsule.

Public function Const

TArray< FVec...

 

ComputeSamplePoints

(
    const int32 NumPoints
)

Returns sample points at the current location of the capsule.

Public function Const

FReal

 

GetArea

(
    const bool IncludeEndCaps
)

Public function Static

FReal

 

GetArea

(
    const FReal Height,
    const FReal Radius1,
    const FReal Radius2,
    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 Static

FMatrix33

 

GetInertiaTensor

(
    const FReal Mass,
    const FReal Height,
    const FReal Radius1,
    const FReal Radius2
)

Public function Const

FMatrix33

 

GetInertiaTensor

(
    const FReal Mass
)

Public function Const

FVec3

 

GetInsertion()

Returns the topmost hemisphere center of capsule .

Public function Const

FVec3

 

GetOrigin()

Returns the bottommost hemisphere center of the capsule.

Public function Const

FReal

 

GetRadius1()

Public function Const

FReal

 

GetRadius2()

Public function Const

FRotation3

 

GetRotationOfMass()

Public function Static

FRotation3

 

GetRotationOfMass

(
    const FVec3& Axis
)

Public function Const

FReal

 

GetSlantHeight()

Public function Static

FReal

 

GetVolume

(
    const FReal Height,
    const FReal Radius1,
    const FReal Radius2
)

Public function Const

FReal

 

GetVolume()

Public function Const

FVec3

 

GetX1()

Public function 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

uint32

 

GetTypeHash()

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.

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