Navigation
API > API/Runtime > API/Runtime/GeometryCore
TIntersector1 computes the intersection of one-dimensional intervals [u0,u1] and [v0,v1]. The end points of the input intervals must be ordered u0 <= u1 and v0 <= v1. Infinite and degenerate intervals are allowed.
| Name | TIntersector1 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Intersection/Intersector1.h |
| Include Path | #include "Intersection/Intersector1.h" |
Syntax
template<typename RealType>
class TIntersector1
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIntersector1
(
const TInterval1< RealType >& u, |
Intersection/Intersector1.h | ||
TIntersector1
(
RealType u0, |
Intersection/Intersector1.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumIntersections | int | Number of intersections found. | Intersection/Intersector1.h | |
| U | TInterval1< RealType > | First interval | Intersection/Intersector1.h | |
| V | TInterval1< RealType > | Second interval | Intersection/Intersector1.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Intersections | TInterval1< RealType > | Intersection point/interval, access via GetIntersection | Intersection/Intersector1.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Find() |
Calculate the intersection interval | Intersection/Intersector1.h | |
RealType GetIntersection
(
int i |
Intersection/Intersector1.h | ||
bool Test() |
Fast check to see if intervals intersect, but does not calculate intersection interval | Intersection/Intersector1.h |