Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Intersection
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntrLine2Triangle2.h |
| Include | #include "Intersection/IntrLine2Triangle2.h" |
Syntax
template<typename Real>
class TIntrLine2Triangle2
Remarks
Compute intersection between 2D Line and 2D Triangle
Variables
| Type | Name | Description | |
|---|---|---|---|
| TLine2< Real > | Line | Input. | |
| double | Param0 | ||
| double | Param1 | ||
| TVector2< Real > | Point0 | ||
| TVector2< Real > | Point1 | ||
| int | Quantity | Output. | |
| EIntersectionResult | Result | ||
| TTriangle2< Real > | Triangle | ||
| EIntersectionType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TIntrLine2Triangle2
(
TLine2< Real > l, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TIntrLine2Triangle2 * | Compute () |
||
| bool | Find () |
||
| bool | GetInterval
(
const TVector2< Real >& Origin, |
||
| TLine2< Real > | GetLine () |
||
| TTriangle2< Real > | GetTriangle () |
||
| bool | |||
| void | |||
| void | SetTriangle
(
const TTriangle2< Real >& TriangleIn |
||
| void | TriangleLineRelations
(
const TVector2< Real >& Origin, |