![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IntrLine2Triangle2.h>
Public Member Functions | |
| TLine2< Real > | GetLine () const |
| TTriangle2< Real > | GetTriangle () const |
| void | SetLine (const TLine2< Real > &LineIn) |
| void | SetTriangle (const TTriangle2< Real > &TriangleIn) |
| bool | IsSimpleIntersection () |
| TIntrLine2Triangle2 () | |
| TIntrLine2Triangle2 (TLine2< Real > l, TTriangle2< Real > t) | |
| TIntrLine2Triangle2 * | Compute () |
| bool | Find () |
Static Public Member Functions | |
| static void | TriangleLineRelations (const TVector2< Real > &Origin, const TVector2< Real > &Direction, const TTriangle2< Real > &Tri, TVector< Real > &Dist, FVector3i &Sign, int &Positive, int &Negative, int &Zero, Real Tolerance=TMathUtil< Real >::ZeroTolerance) |
| static bool | GetInterval (const TVector2< Real > &Origin, const TVector2< Real > &Direction, const TTriangle2< Real > &Tri, const TVector< Real > &Dist, const FVector3i &Sign, TVector2< Real > ¶m) |
Public Attributes | |
| int | Quantity = 0 |
| EIntersectionResult | Result = EIntersectionResult::NotComputed |
| EIntersectionType | Type = EIntersectionType::Empty |
| TVector2< Real > | Point0 |
| TVector2< Real > | Point1 |
| double | Param0 |
| double | Param1 |
Protected Attributes | |
| TLine2< Real > | Line |
| TTriangle2< Real > | Triangle |
Compute intersection between 2D Line and 2D Triangle
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
protected |
| double UE::Geometry::TIntrLine2Triangle2< Real >::Param0 |
| double UE::Geometry::TIntrLine2Triangle2< Real >::Param1 |
| TVector2<Real> UE::Geometry::TIntrLine2Triangle2< Real >::Point0 |
| TVector2<Real> UE::Geometry::TIntrLine2Triangle2< Real >::Point1 |
| int UE::Geometry::TIntrLine2Triangle2< Real >::Quantity = 0 |
| EIntersectionResult UE::Geometry::TIntrLine2Triangle2< Real >::Result = EIntersectionResult::NotComputed |
|
protected |
| EIntersectionType UE::Geometry::TIntrLine2Triangle2< Real >::Type = EIntersectionType::Empty |