IMeshSpatial

[IMeshSpatial](API\Plugins\GeometricObjects\Spatial\IMeshSpatial) is an extension of [ISpatial](API\Plugins\GeometricObjects\Spatial\ISpatial) specifically for meshes

Windows
MacOS
Linux

Inheritance Hierarchy

ISpatial

IMeshSpatial

TMeshAABBTree3

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/SpatialInterfaces.h

Include

#include "Spatial/SpatialInterfaces.h"

Syntax

class IMeshSpatial : public ISpatial

Remarks

IMeshSpatial is an extension of ISpatial specifically for meshes

Destructors

Name Description

Public function Virtual

~IMeshSpatial()

Functions

Name Description

Public function Virtual Const

int

 

FindNearestHitTriangle

(
    const FRay3d& Ray,
    const FQueryOptions& Options
)

Public function Const

bool

 

FindNearestHitTriangle

(
    const FRay3d& Ray,
    double& NearestT,
    int& TID,
    const FQueryOptions& Options
)

Find nearest triangle from the given ray

Public function Const

int

 

FindNearestTriangle

(
    const FVector3d& Point,
    double& NearestDistSqrOut,
    const FQueryOptions& Options
)

Public function Const

bool

 

SupportsNearestTriangle()

Public function Const

bool

 

SupportsTriangleRayIntersection()

Classes

Name

Description

Public struct

FQueryOptions

Standard shared options for all mesh spatial queries

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