TIntersector1

[TIntersector1](API\Plugins\GeometricObjects\Intersection\TIntersector1) computes the intersection of one-dimensional intervals [u0,u1] and [v0,v1].

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/Intersector1.h

Include

#include "Intersection/Intersector1.h"

Syntax

template<typename RealType>
class TIntersector1

Remarks

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.

Variables

Name Description

Public variable

int

 

NumIntersections

Number of intersections found.

Public variable

TInterval1< Rea...

 

U

First interval

Public variable

TInterval1< Rea...

 

V

Second interval

Constructors

Name Description

Public function

TIntersector1

(
    const TInterval1< RealType >& u,
    const TInterval1< RealType >& v
)

Public function

TIntersector1

(
    RealType u0,
    RealType u1,
    RealType v0,
    RealType v1
)

Functions

Name Description

Public function

bool

 

Find()

Calculate the intersection interval

Public function

RealType

 

GetIntersection

(
    int i
)

Public function Const

bool

 

Test()

Fast check to see if intervals intersect, but does not calculate intersection interval

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss