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

TIntrLine2Triangle2

Compute intersection between 2D Line and 2D Triangle

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

Public class

TIntrSegment2Triangle2

Compute intersection between 2D segment and 2D triangle

Public class

TIntrTriangle2Triangle2

Compute intersection between 2D triangles

Public class

TIntrTriangle3Triangle3

Compute intersection between 3D triangles use Test() for fast boolean query, does not compute intersection info use Find() to compute full information By default fully-contained co-planar triangles are not reported as intersecting.

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
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TOrientedBox3< RealType >& O...,
    EnumerablePointsType EnumerablePts
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TOrientedBox3< RealType >& O...,
    const TCapsule3< RealType >& Inner...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TOrientedBox3< RealType >& O...,
    const TSphere3< RealType >& InnerS...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TOrientedBox3< RealType >& O...,
    const TOrientedBox3< RealType >& I...
)

OrientedBox Containment Queries

Public function

bool

 

UE::Geometry::IsInside

(
    const TCapsule3< RealType >& Outer...,
    EnumerablePointsType EnumerablePts
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TCapsule3< RealType >& Outer...,
    const TOrientedBox3< RealType >& I...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TCapsule3< RealType >& Outer...,
    const TSphere3< RealType >& InnerS...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TCapsule3< RealType >& Outer...,
    const TCapsule3< RealType >& Inner...
)

Capsule Containment Queries

Public function

bool

 

UE::Geometry::IsInside

(
    const TSphere3< RealType >& OuterS...,
    EnumerablePointsType EnumerablePts
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TSphere3< RealType >& OuterS...,
    const TOrientedBox3< RealType >& I...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TSphere3< RealType >& OuterS...,
    const TCapsule3< RealType >& Inner...
)

Public function

bool

 

UE::Geometry::IsInside

(
    const TSphere3< RealType >& OuterS...,
    const TSphere3< RealType >& InnerS...
)

Sphere Containment Queries

Public function

bool

 

UE::Geometry::IsInsideHull

(
    TArrayView< THalfspace3< RealType >...,
    const TSphere3< RealType >& InnerS...
)

Convex Hull/Volume containment queries Test if the convex volume defined by a set of Halfspaces contains InnerSphere.

Public function

bool

 

UE::Geometry::IsInsideHull

(
    TArrayView< THalfspace3< RealType >...,
    const TCapsule3< RealType >& Inner...
)

Test if the convex volume defined by a set of Halfspaces contains InnerCapsule.

Public function

bool

 

UE::Geometry::IsInsideHull

(
    TArrayView< THalfspace3< RealType >...,
    const TOrientedBox3< RealType >& I...
)

Test if the convex volume defined by a set of Halfspaces contains InnerBox.

Public function

bool

 

UE::Geometry::IsInsideHull

(
    TArrayView< THalfspace3< RealType >...,
    EnumerablePointsType EnumerablePts
)

Test if the convex volume defined by a set of Halfspaces contains InnerSphere.

Public function

bool

 

UE::Geometry::TestIntersection

(
    const THalfspace3< RealType >& Hal...,
    const TSphere3< RealType >& Sphere
)

Halfspace Intersection Queries

Public function

bool

 

UE::Geometry::TestIntersection

(
    const THalfspace3< RealType >& Hal...,
    const TCapsule3< RealType >& Capsu...
)

Public function

bool

 

UE::Geometry::TestIntersection

(
    const THalfspace3< RealType >& Hal...,
    const TOrientedBox3< RealType >& B...
)

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