TIntrTriangle2Triangle2

Compute intersection between 2D triangles

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/IntrTriangle2Triangle2.h

Include

#include "Intersection/IntrTriangle2Triangle2.h"

Syntax

template<typename Real>
class TIntrTriangle2Triangle2

Remarks

Compute intersection between 2D triangles

Variables

Name Description

Public variable

FVector2< Real ...

 

Points

Intersection polygon - this array will always be 6 elements long, however only the first Quantity vertices will be valid

Public variable

int

 

Quantity

Output.

Public variable

EIntersectionRe...

 

Result

Protected variable

TTriangle2< Rea...

 

Triangle0

Input.

Protected variable

TTriangle2< Rea...

 

Triangle1

Public variable

EIntersectionTy...

 

Type

Constructors

Name Description

Public function

TIntrTriangle2Triangle2()

Public function

TIntrTriangle2Triangle2

(
    TTriangle2< Real > T0,
    TTriangle2< Real > T1
)

Functions

Name Description

Public function

TIntrTriangl...

 

Compute()

Public function

bool

 

Find()

Public function Const

TTriangle2< ...

 

GetTriangle0()

Public function Const

TTriangle2< ...

 

GetTriangle1()

Public function

bool

 

IsSimpleIntersection()

Public function

void

 

SetTriangle0

(
    const TTriangle2< Real >& Triangle...
)

Public function

void

 

SetTriangle1

(
    const TTriangle2< Real >& Triangle...
)

Public function

bool

 

Test()

Public function Static

int

 

WhichSide

(
    const TTriangle2< Real >& V,
    const FVector2< Real >& P,
    const FVector2< Real >& D
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss