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