Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ImplicitFwd.h |
Include | #include "Chaos/ImplicitFwd.h" |
Syntax
template<typename T>
class TTriangle
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TTriangle () |
||
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | FindVertexPlanes
(
int32 VertexIndex, |
Get an array of all the plane indices that belong to a vertex (up to MaxVertexPlanes). |
![]() ![]() |
TVec3< T > | GetCentroid () |
|
![]() ![]() |
TVec3< T > | GetClosestEdge
(
int32 PlaneIndexHint, |
Get the nearest point on an edge and the edge vertices Used for manifold generation |
![]() ![]() |
TVec3< T > | GetClosestEdgePosition
(
int32 PlaneIndexHint, |
Get the nearest point on an edge Used for manifold generation |
![]() ![]() |
T | GetMargin () |
|
![]() ![]() |
int32 | GetMostOpposingPlane
(
const TVec3< T >& Normal |
Get the index of the plane that most opposes the normal. |
![]() ![]() |
TVec3< T > | GetNormal () |
|
![]() ![]() |
TPlaneConcrete< T, 3 > | GetPlane
(
int32 FaceIndex |
Face index is ignored since we only have one face Used for manifold generation |
![]() ![]() |
TPlane< T, 3 > | GetPlane () |
|
![]() ![]() |
void | GetPlaneNX
(
const int32 FaceIndex, |
|
![]() ![]() |
int32 | GetPlaneVertex
(
int32 PlaneIndex, |
Get the vertex index of one of the vertices making up the corners of the specified face Used for manifold generation |
![]() ![]() |
T | GetRadius () |
|
![]() ![]() |
const TVec3< T > & | GetVertex
(
const int32 InIndex |
|
![]() ![]() |
int32 | GetVertexPlanes3
(
int32 VertexIndex, |
Get up to the 3 plane indices that belong to a vertex Returns the number of planes found. |
![]() ![]() |
T | Triangle winding order is always 1.0. When we reverse the winding of a triangle we flip the verts. | |
![]() ![]() |
bool | IsConvex () |
|
![]() ![]() |
bool | LineIntersection
(
const TVec3< T >& StartPoint, |
|
![]() ![]() |
int32 | NumPlanes () |
Triangle is just one plane Used for manifold generation |
![]() ![]() |
int32 | NumPlaneVertices
(
int32 PlaneIndex |
The number of vertices that make up the corners of the specified face Used for manifold generation |
![]() ![]() |
bool | ||
![]() ![]() |
T | PhiWithNormal
(
const TVec3< T >& InSamplePoint, |
|
![]() ![]() |
bool | ||
![]() |
FTriangle & | Change the winding order of this triangle by flipping the last two vertices. | |
![]() ![]() |
TVec3< T > | ||
![]() ![]() |
TVec3< T > | SupportCore
(
const TVec3< T >& Direction, |
|
![]() ![]() |
TVec3< T > | SupportCoreScaled
(
const TVec3< T >& Direction, |
|
![]() ![]() |
FString | ToString () |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
TVec3< T > & | operator[]
(
uint32 InIndex |
|
![]() ![]() |
const TVec3< T > & | operator[]
(
uint32 InIndex |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FLineIntersectionToleranceProvider |