Navigation
API > API/Runtime > API/Runtime/GeometryCore
Compute intersection between 2D triangles
| Name | TIntrTriangle2Triangle2 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrTriangle2Triangle2.h |
| Include Path | #include "Intersection/IntrTriangle2Triangle2.h" |
Syntax
template<typename Real>
class TIntrTriangle2Triangle2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Intersection/IntrTriangle2Triangle2.h | |||
TIntrTriangle2Triangle2
(
TTriangle2< Real > T0, |
Intersection/IntrTriangle2Triangle2.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Points | TVector2< Real > | Intersection polygon - this array will always be 6 elements long, however only the first Quantity vertices will be valid | Intersection/IntrTriangle2Triangle2.h | |
| Quantity | int | Output. | Intersection/IntrTriangle2Triangle2.h | |
| Result | EIntersectionResult | Intersection/IntrTriangle2Triangle2.h | ||
| Type | EIntersectionType | Intersection/IntrTriangle2Triangle2.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIntrTriangle2Triangle2 * Compute() |
Intersection/IntrTriangle2Triangle2.h | ||
bool Find() |
Intersection/IntrTriangle2Triangle2.h | ||
TTriangle2< Real > GetTriangle0() |
Intersection/IntrTriangle2Triangle2.h | ||
TTriangle2< Real > GetTriangle1() |
Intersection/IntrTriangle2Triangle2.h | ||
bool IsSimpleIntersection() |
Intersection/IntrTriangle2Triangle2.h | ||
void SetTriangle0
(
const TTriangle2< Real >& Triangle0In |
Intersection/IntrTriangle2Triangle2.h | ||
void SetTriangle1
(
const TTriangle2< Real >& Triangle1In |
Intersection/IntrTriangle2Triangle2.h | ||
bool Test() |
Intersection/IntrTriangle2Triangle2.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Quantity, V initially are input polygon vertex count and vertices; on return, they are the clipped polygon vertex count and vertices | Intersection/IntrTriangle2Triangle2.h | ||
static int WhichSide
(
const TTriangle2< Real >& V, |
Intersection/IntrTriangle2Triangle2.h |