Navigation
API > API/Runtime > API/Runtime/GeometryCore
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.
| Name | TIntrSegment2Triangle2 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrSegment2Triangle2.h |
| Include Path | #include "Intersection/IntrSegment2Triangle2.h" |
Syntax
template<typename Real>
class TIntrSegment2Triangle2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Intersection/IntrSegment2Triangle2.h | |||
TIntrSegment2Triangle2
(
TSegment2< Real > Seg, |
Intersection/IntrSegment2Triangle2.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Param0 | double | Intersection/IntrSegment2Triangle2.h | ||
| Param1 | double | Intersection/IntrSegment2Triangle2.h | ||
| Point0 | TVector2< Real > | Intersection/IntrSegment2Triangle2.h | ||
| Point1 | TVector2< Real > | Intersection/IntrSegment2Triangle2.h | ||
| Quantity | int | Output. | Intersection/IntrSegment2Triangle2.h | |
| Result | EIntersectionResult | Intersection/IntrSegment2Triangle2.h | ||
| Type | EIntersectionType | Intersection/IntrSegment2Triangle2.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIntrSegment2Triangle2 * Compute
(
Real Tolerance |
Intersection/IntrSegment2Triangle2.h | ||
bool Find
(
Real Tolerance |
Intersection/IntrSegment2Triangle2.h | ||
TSegment2< Real > GetSegment() |
Intersection/IntrSegment2Triangle2.h | ||
TTriangle2< Real > GetTriangle() |
Intersection/IntrSegment2Triangle2.h | ||
bool IsSimpleIntersection() |
Intersection/IntrSegment2Triangle2.h | ||
void SetSegment
(
const TSegment2< Real >& SegmentIn |
Intersection/IntrSegment2Triangle2.h | ||
void SetTriangle
(
const TTriangle2< Real >& TriangleIn |
Intersection/IntrSegment2Triangle2.h |