![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Intersector1.h>
Public Member Functions | |
| TIntersector1 (RealType u0, RealType u1, RealType v0, RealType v1) | |
| TIntersector1 (const TInterval1< RealType > &u, const TInterval1< RealType > &v) | |
| bool | Test () const |
| RealType | GetIntersection (int i) |
| bool | Find () |
Public Attributes | |
| TInterval1< RealType > | U |
| TInterval1< RealType > | V |
| int | NumIntersections = 0 |
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.
|
inline |
|
inline |
|
inline |
Calculate the intersection interval
|
inline |
|
inline |
Fast check to see if intervals intersect, but does not calculate intersection interval
| int UE::Geometry::TIntersector1< RealType >::NumIntersections = 0 |
Number of intersections found. 0: intervals do not overlap 1: intervals are touching at a single point 2: intervals intersect in an interval
| TInterval1<RealType> UE::Geometry::TIntersector1< RealType >::U |
First interval
| TInterval1<RealType> UE::Geometry::TIntersector1< RealType >::V |
Second interval