TIntrRay3AxisAlignedBox3

Compute intersection between 3D ray and 3D axis-aligned box

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "Intersection/IntrRay3AxisAlignedBox3.h"

Syntax

template<typename RealType>
class TIntrRay3AxisAlignedBox3

Remarks

Compute intersection between 3D ray and 3D axis-aligned box

Functions

Name Description

Protected function Static

bool

 

Clip

(
    RealType denom,
    RealType numer,
    RealType& t0,
    RealType& t1
)

Protected function Static

bool

 

DoClipping

(
    RealType t0,
    RealType t1,
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const TAxisAlignedBox3< RealType > ...,
    bool solid,
    int& quantity,
    FVector3< RealType >& Point0,
    FVector3< RealType >& Point1,
    EIntersectionType& intrType
)

Public function Static

bool

 

FindIntersection

(
    const TRay3< RealType >& Ray,
    const TAxisAlignedBox3< RealType > ...,
    RealType& RayParamOut
)

Find intersection of ray with AABB and returns ray T-value of intersection point (or TNumericLimits::Max() on miss)

Public function Static

bool

 

TestIntersection

(
    const TRay3< RealType >& Ray,
    const TAxisAlignedBox3< RealType > ...,
    RealType ExpandExtents
)

Test if ray intersects box

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