Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FTaperedCapsule |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TaperedCapsule.h |
| Include Path | #include "Chaos/TaperedCapsule.h" |
Syntax
class FTaperedCapsule : public Chaos::FImplicitObject
Inheritance Hierarchy
- FChaosRefCountedObject → FImplicitObject → FTaperedCapsule
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTaperedCapsule
(
FTaperedCapsule&& Other |
Chaos/TaperedCapsule.h | ||
FTaperedCapsule
(
const FTaperedCapsule& Other |
Chaos/TaperedCapsule.h | ||
| Chaos/TaperedCapsule.h | |||
FTaperedCapsule
(
const FVec3& X1, |
Chaos/TaperedCapsule.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTaperedCapsule() |
Chaos/TaperedCapsule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Axis | FVec3f | Chaos/TaperedCapsule.h | ||
| bIsOneSided | bool | Chaos/TaperedCapsule.h | ||
| Height | FRealSingle | Chaos/TaperedCapsule.h | ||
| LocalBoundingBox | FAABB3 | Chaos/TaperedCapsule.h | ||
| OneSidedPlaneNormal | FVec3f | Chaos/TaperedCapsule.h | ||
| Origin | FVec3f | Chaos/TaperedCapsule.h | ||
| Radius1 | FRealSingle | Chaos/TaperedCapsule.h | ||
| Radius2 | FRealSingle | Chaos/TaperedCapsule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FVec3 > ComputeLocalSamplePoints
(
const FReal PointsPerUnitArea, |
Returns sample points centered about the origin. | Chaos/TaperedCapsule.h | |
TArray< FVec3 > ComputeLocalSamplePoints
(
const int32 NumPoints |
Returns sample points centered about the origin. | Chaos/TaperedCapsule.h | |
TArray< FVec3 > ComputeSamplePoints
(
const FReal PointsPerUnitArea, |
Returns sample points at the current location of the capsule. | Chaos/TaperedCapsule.h | |
TArray< FVec3 > ComputeSamplePoints
(
const int32 NumPoints |
Returns sample points at the current location of the capsule. | Chaos/TaperedCapsule.h | |
FReal GetArea
(
const bool IncludeEndCaps |
Chaos/TaperedCapsule.h | ||
FVec3 GetAxis() |
Chaos/TaperedCapsule.h | ||
FVec3 GetCenter() |
Chaos/TaperedCapsule.h | ||
FVec3 GetCenterOfMass() |
Returns the centroid (center of mass). | Chaos/TaperedCapsule.h | |
FReal GetHeight() |
Chaos/TaperedCapsule.h | ||
FMatrix33 GetInertiaTensor
(
const FReal Mass |
Chaos/TaperedCapsule.h | ||
FVec3 GetInsertion() |
Returns the topmost hemisphere center of capsule . | Chaos/TaperedCapsule.h | |
FVec3 GetOneSidedPlaneNormal() |
Chaos/TaperedCapsule.h | ||
const FVec3f & GetOneSidedPlaneNormalf() |
Chaos/TaperedCapsule.h | ||
FVec3 GetOrigin() |
Returns the bottommost hemisphere center of the capsule. | Chaos/TaperedCapsule.h | |
const FVec3f & GetOriginf() |
Chaos/TaperedCapsule.h | ||
FReal GetRadius1() |
Chaos/TaperedCapsule.h | ||
FReal GetRadius2() |
Chaos/TaperedCapsule.h | ||
FRotation3 GetRotationOfMass () |
Chaos/TaperedCapsule.h | ||
FReal GetSlantHeight() |
Chaos/TaperedCapsule.h | ||
FReal GetVolume () |
Chaos/TaperedCapsule.h | ||
FVec3 GetX1() |
Chaos/TaperedCapsule.h | ||
FVec3 GetX2() |
Chaos/TaperedCapsule.h | ||
bool IsOneSided() |
Chaos/TaperedCapsule.h |
Overridden from FImplicitObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FAABB3 BoundingBox() |
Chaos/TaperedCapsule.h | ||
virtual uint32 GetTypeHash() |
Chaos/TaperedCapsule.h | ||
virtual FReal PhiWithNormal
(
const FVec3& x, |
Find the closest point on the surface, and return the separating distance and axis. | Chaos/TaperedCapsule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FReal GetArea
(
const FReal Height, |
Chaos/TaperedCapsule.h | ||
static FReal GetHemisphereVolume
(
const FReal Radius |
Chaos/TaperedCapsule.h | ||
static FMatrix33 GetInertiaTensor
(
const FReal Mass, |
Chaos/TaperedCapsule.h | ||
static FRotation3 GetRotationOfMass
(
const FVec3& Axis |
Chaos/TaperedCapsule.h | ||
static FReal GetTaperedSectionVolume
(
const FReal Height, |
Chaos/TaperedCapsule.h | ||
static FReal GetVolume
(
const FReal Height, |
Chaos/TaperedCapsule.h | ||
static EImplicitObjectType StaticType() |
Chaos/TaperedCapsule.h |