Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TTriangle2 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/TriangleTypes.h |
| Include Path | #include "TriangleTypes.h" |
Syntax
template<typename RealType>
struct TTriangle2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTriangle2 () |
TriangleTypes.h | ||
TTriangle2
(
const TVector2< RealType > VIn |
TriangleTypes.h | ||
TTriangle2
(
const TVector2< RealType >& V0, |
TriangleTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| V | TVector2< RealType > | TriangleTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RealType Area() |
TriangleTypes.h | ||
TVector2< RealType > BarycentricPoint
(
const TVector< RealType >& BaryCoords |
TriangleTypes.h | ||
TVector2< RealType > BarycentricPoint
(
RealType Bary0, |
TriangleTypes.h | ||
| TriangleTypes.h | |||
| TriangleTypes.h | |||
bool IsInsideOrOn
(
const TVector2< RealType >& QueryPoint, |
TriangleTypes.h | ||
int IsInsideOrOn_Oriented
(
const TVector2< RealType >& QueryPoint, |
More robust (because it doesn't multiply orientation test results) inside-triangle test for oriented triangles only (the code early-outs at the first 'outside' edge, which only works if the triangle is oriented as expected) | TriangleTypes.h | |
RealType SignedArea () |
TriangleTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TriangleTypes.h | |||
static bool IsInsideOrOn
(
const TVector2< RealType >& A, |
TriangleTypes.h | ||
static int IsInsideOrOn_Oriented
(
const TVector2< RealType >& A, |
More robust (because it doesn't multiply orientation test results) inside-triangle test for oriented triangles only (the code early-outs at the first 'outside' edge, which only works if the triangle is oriented as expected) | TriangleTypes.h | |
static RealType SignedArea
(
const TVector2< RealType >& A, |
TriangleTypes.h |