Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TTetrahedron |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Tetrahedron.h |
| Include Path | #include "Chaos/Tetrahedron.h" |
Syntax
template<typename T>
class TTetrahedron
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTetrahedron () |
Chaos/Tetrahedron.h | ||
TTetrahedron
(
const TVec3< T >& In1, |
Chaos/Tetrahedron.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| X | TVec3< T > | Chaos/Tetrahedron.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BarycentricInside
(
const TVec3< T >& Location, |
Chaos/Tetrahedron.h | ||
TAABB< T, 3 > BoundingBox() |
Chaos/Tetrahedron.h | ||
TVec3< T > FindClosestPointAndBary
(
const TVec3< T >& Location, |
Tolerance should be small negative number or zero. It is used to compare barycentric coordinate values. | Chaos/Tetrahedron.h | |
T GetAspectRatio() |
Chaos/Tetrahedron.h | ||
TVec4< T > GetBarycentricCoordinates
(
const TVec3< T >& Location |
Chaos/Tetrahedron.h | ||
TAABB< T, 3 > GetBoundingBox() |
Chaos/Tetrahedron.h | ||
TVec3< T > GetCenter() |
Chaos/Tetrahedron.h | ||
TVec3< T > GetFirstThreeBarycentricCoordinates
(
const TVec3< T >& Location |
Chaos/Tetrahedron.h | ||
T GetMaxEdgeLength() |
Chaos/Tetrahedron.h | ||
T GetMaxEdgeLengthSquared() |
Chaos/Tetrahedron.h | ||
T GetMinEdgeLength() |
Chaos/Tetrahedron.h | ||
T GetMinEdgeLengthSquared() |
Chaos/Tetrahedron.h | ||
T GetMinimumAltitude
(
int32* MinAltitudeVertex |
Chaos/Tetrahedron.h | ||
TVec3< T > GetPointFromBarycentricCoordinates
(
const TVec4< T >& Weights |
Chaos/Tetrahedron.h | ||
TVec3< T > GetPointFromBarycentricCoordinates
(
const TVec3< T >& Weights |
Chaos/Tetrahedron.h | ||
T GetSignedVolume() |
Chaos/Tetrahedron.h | ||
| Initialize outward facing triangles, regardless of the orientation of the tetrahedron. | Chaos/Tetrahedron.h | ||
T GetVolume() |
Chaos/Tetrahedron.h | ||
bool HasBoundingBox() |
Chaos/Tetrahedron.h | ||
bool Inside
(
const TVec3< T >& Location, |
Chaos/Tetrahedron.h | ||
void Invert() |
Chaos/Tetrahedron.h | ||
bool Outside
(
const TVec3< T >& Location, |
Chaos/Tetrahedron.h | ||
TVec3< T > ProjectToSurface
(
const TArray< TTriangle< T > >& Tris, |
Note: this method will fail to project to the actual surface if Location is outside and the closest point is on an edge with an acute angle such that Location is outside both connected faces. | Chaos/Tetrahedron.h | |
bool RobustInside
(
const TVec3< T >& Location, |
`Tolerance_ should be a small negative number to include boundary. | Chaos/Tetrahedron.h | |
FString ToString() |
Chaos/Tetrahedron.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/Tetrahedron.h | |||
| Chaos/Tetrahedron.h | |||
| Chaos/Tetrahedron.h | |||
| Chaos/Tetrahedron.h | |||
static int32 Sign
(
const T Value |
Chaos/Tetrahedron.h | ||
static T TripleProduct
(
const TVec3< T >& U, |
Chaos/Tetrahedron.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TVec3< T > & operator[]
(
uint32 InIndex |
Chaos/Tetrahedron.h | ||
const TVec3< T > & operator[]
(
uint32 InIndex |
Chaos/Tetrahedron.h |