Intersection

Windows
MacOS
Linux

Classes

Name

Description

Public struct

FLinearIntersection

FLinearIntersection contains intersection information returned by linear/primitive intersection functions

Public class

TIntersector1

TIntersector1 computes the intersection of one-dimensional intervals [u0,u1] and [v0,v1].

Public class

TIntrLine2Line2

Compute intersection between two 2D lines

Public class

TIntrRay3AxisAlignedBox3

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

Public class

TIntrRay3Triangle3

Compute intersection between 3D ray and 3D triangle

Public class

TIntrSegment2Segment2

Ported from WildMagic5

Typedefs

Functions

Name Description

Public function

FLinearInter...

 

IntersectionUtil::LineSphereIntersection

(
    const FVector3< RealType >& LineOr...,
    const FVector3< RealType >& LineDi...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius
)

Public function

bool

 

IntersectionUtil::LineSphereIntersection

(
    const FVector3< RealType >& LineOr...,
    const FVector3< RealType >& LineDi...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius,
    FLinearIntersection& ResultOut
)

Intersect line with sphere and return intersection info (# hits, ray parameters)

Public function

bool

 

IntersectionUtil::LineSphereTest

(
    const FVector3< RealType >& LineOr...,
    const FVector3< RealType >& LineDi...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius
)

Test if line intersects sphere

Public function

FLinearInter...

 

IntersectionUtil::RaySphereIntersection

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius
)

Public function

bool

 

IntersectionUtil::RaySphereIntersection

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius,
    FLinearIntersection& Result
)

Intersect ray with sphere and return intersection info (# hits, ray parameters)

Public function

bool

 

IntersectionUtil::RaySphereTest

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& Sphere...,
    RealType SphereRadius
)

Public function

bool

 

IntersectionUtil::RayTriangleTest

(
    const FVector3< RealType >& RayOri...,
    const FVector3< RealType >& RayDir...,
    const FVector3< RealType >& V0,
    const FVector3< RealType >& V1,
    const FVector3< RealType >& V2
)

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