Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FCylinder |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Cylinder.h |
| Include Path | #include "Chaos/Cylinder.h" |
Syntax
class FCylinder : public Chaos::FImplicitObject
Inheritance Hierarchy
- FChaosRefCountedObject → FImplicitObject → FCylinder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCylinder
(
const FVec3& x1, |
Chaos/Cylinder.h | ||
| Chaos/Cylinder.h | |||
| Chaos/Cylinder.h | |||
FCylinder () |
Needed for serialization | Chaos/Cylinder.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FCylinder() |
Chaos/Cylinder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FImplicitObject | friend | Chaos/Cylinder.h | ||
| MHeight | FReal | Chaos/Cylinder.h | ||
| MLocalBoundingBox | FAABB3 | Chaos/Cylinder.h | ||
| MPlane1 | TPlane< FReal, 3 > | Chaos/Cylinder.h | ||
| MPlane2 | TPlane< FReal, 3 > | Chaos/Cylinder.h | ||
| MRadius | FReal | Chaos/Cylinder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FVec3 > ComputeLocalSamplePoints
(
const FReal PointsPerUnitArea, |
Returns sample points centered about the origin. | Chaos/Cylinder.h | |
TArray< FVec3 > ComputeLocalSamplePoints
(
const int32 NumPoints, |
Returns sample points centered about the origin. | Chaos/Cylinder.h | |
TArray< FVec3 > ComputeSamplePoints
(
const int32 NumPoints, |
Returns sample points at the current location of the cylinder. | Chaos/Cylinder.h | |
TArray< FVec3 > ComputeSamplePoints
(
const FReal PointsPerUnitArea, |
Returns sample points at the current location of the cylinder. | Chaos/Cylinder.h | |
FReal GetArea
(
const bool IncludeEndCaps |
Chaos/Cylinder.h | ||
FVec3 GetAxis() |
Chaos/Cylinder.h | ||
FVec3 GetCenter() |
Chaos/Cylinder.h | ||
FVec3 GetCenterOfMass() |
Returns the centroid (center of mass). | Chaos/Cylinder.h | |
FReal GetHeight() |
Chaos/Cylinder.h | ||
FMatrix33 GetInertiaTensor
(
const FReal Mass |
Chaos/Cylinder.h | ||
const FVec3 & GetInsertion() |
Returns the topmost point on the cylinder. | Chaos/Cylinder.h | |
const FVec3 & GetOrigin() |
Returns the bottommost point on the cylinder. | Chaos/Cylinder.h | |
FRotation3 GetRotationOfMass () |
Chaos/Cylinder.h | ||
FReal GetVolume () |
Chaos/Cylinder.h | ||
const FVec3 & GetX1() |
Chaos/Cylinder.h | ||
const FVec3 & GetX2() |
Chaos/Cylinder.h | ||
FReal SignedDistance
(
const FVec3& x |
Explicitly non-virtual. Must cast to derived types to target their implementation. | Chaos/Cylinder.h |
Overridden from FImplicitObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FAABB3 BoundingBox() |
Chaos/Cylinder.h | ||
virtual FReal GetRadius() |
Chaos/Cylinder.h | ||
virtual FName GetTypeName () |
Chaos/Cylinder.h | ||
virtual FReal PhiWithNormal
(
const FVec3& x, |
Find the closest point on the surface, and return the separating distance and axis. | Chaos/Cylinder.h | |
virtual void Serialize
(
FChaosArchive& Ar |
Chaos/Cylinder.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FReal GetArea
(
const FReal Height, |
Chaos/Cylinder.h | ||
static FMatrix33 GetInertiaTensor
(
const FReal Mass, |
Chaos/Cylinder.h | ||
static FRotation3 GetRotationOfMass
(
const FVec3& Axis |
Chaos/Cylinder.h | ||
static const FName GetTypeName
(
const EImplicitObjectType InType |
Chaos/Cylinder.h | ||
static FReal GetVolume
(
const FReal Height, |
Chaos/Cylinder.h | ||
static EImplicitObjectType StaticType() |
Chaos/Cylinder.h |