Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/TriangleTypes.h |
| Include | #include "TriangleTypes.h" |
Syntax
template<typename RealType>
struct TTriangle2
Variables
| Type | Name | Description | |
|---|---|---|---|
| TVector2< RealType >[3] | V |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TTriangle2 () |
|||
TTriangle2
(
const TVector2< RealType > VIn |
|||
TTriangle2
(
const TVector2< RealType >& V0, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| RealType | Area () |
||
| TVector2< RealType > | BarycentricPoint
(
const TVector< RealType >& BaryCoords |
||
| TVector2< RealType > | BarycentricPoint
(
RealType Bary0, |
||
| TVector< RealType > | GetBarycentricCoords
(
const TVector2< RealType >& Point |
||
| bool | |||
| bool | |||
| bool | IsInsideOrOn
(
const TVector2< RealType >& QueryPoint, |
||
| bool | IsInsideOrOn
(
const TVector2< RealType >& A, |
||
| 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) | |
| 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) | |
| RealType | SignedArea () |
||
| RealType | SignedArea
(
const TVector2< RealType >& A, |