![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IntrSegment2Triangle2.h>
Public Member Functions | |
| bool | IsSimpleIntersection () |
| TSegment2< Real > | GetSegment () const |
| TTriangle2< Real > | GetTriangle () const |
| void | SetSegment (const TSegment2< Real > &SegmentIn) |
| void | SetTriangle (const TTriangle2< Real > &TriangleIn) |
| TIntrSegment2Triangle2 () | |
| TIntrSegment2Triangle2 (TSegment2< Real > Seg, TTriangle2< Real > Tri) | |
| TIntrSegment2Triangle2 * | Compute (Real Tolerance=TMathUtil< Real >::ZeroTolerance) |
| bool | Find (Real Tolerance=TMathUtil< Real >::ZeroTolerance) |
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 | |
| TSegment2< Real > | Segment |
| TTriangle2< Real > | Triangle |
Compute intersection between 2D segment and 2D triangle. Note that if Segment.Extent is zero, this will test if the Segment Center is in the triangle.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| double UE::Geometry::TIntrSegment2Triangle2< Real >::Param0 |
| double UE::Geometry::TIntrSegment2Triangle2< Real >::Param1 |
| TVector2<Real> UE::Geometry::TIntrSegment2Triangle2< Real >::Point0 |
| TVector2<Real> UE::Geometry::TIntrSegment2Triangle2< Real >::Point1 |
| int UE::Geometry::TIntrSegment2Triangle2< Real >::Quantity = 0 |
| EIntersectionResult UE::Geometry::TIntrSegment2Triangle2< Real >::Result = EIntersectionResult::NotComputed |
|
protected |
|
protected |
| EIntersectionType UE::Geometry::TIntrSegment2Triangle2< Real >::Type = EIntersectionType::Empty |