Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Intersection
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrTriangle2Triangle2.h |
| Include | #include "Intersection/IntrTriangle2Triangle2.h" |
Syntax
template<typename Real>
class TIntrTriangle2Triangle2
Remarks
Compute intersection between 2D triangles
Variables
| Type | Name | Description | |
|---|---|---|---|
| TVector2< Real >[6] | Points | Intersection polygon - this array will always be 6 elements long, however only the first Quantity vertices will be valid | |
| int | Quantity | Output. | |
| EIntersectionResult | Result | ||
| TTriangle2< Real > | Triangle0 | Input. | |
| TTriangle2< Real > | Triangle1 | ||
| EIntersectionType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TIntrTriangle2Triangle2
(
TTriangle2< Real > T0, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TIntrTriangle2Triangle2 * | Compute () |
||
| bool | Find () |
||
| TTriangle2< Real > | GetTriangle0 () |
||
| TTriangle2< Real > | GetTriangle1 () |
||
| bool | |||
| void | SetTriangle0
(
const TTriangle2< Real >& Triangle0In |
||
| void | SetTriangle1
(
const TTriangle2< Real >& Triangle1In |
||
| bool | Test () |
||
| int | WhichSide
(
const TTriangle2< Real >& V, |