FGeometrySet3

[FGeometrySet3](API\Plugins\GeometricObjects\Spatial\FGeometrySet3) stores a set of 3D Points and Polyline curves, and supports spatial queries against these sets.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "Spatial/GeometrySet3.h"

Syntax

class FGeometrySet3

Remarks

FGeometrySet3 stores a set of 3D Points and Polyline curves, and supports spatial queries against these sets.

Since Points and Curves have no area to hit, hit-tests are done via nearest-point-on-ray.

Variables

Name Description

Protected variable

TMap< int, int ...

 

CurveIDToIndex

Protected variable

TArray< FCurve ...

 

Curves

Protected variable

TMap< int, int ...

 

PointIDToIndex

Protected variable

TArray< FPoint ...

 

Points

Functions

Name Description

Public function

void

 

AddCurve

(
    int CurveID,
    const FPolyline3d& Polyline
)

Add a polycurve with given CurveID and the give Polyline

Public function

void

 

AddPoint

(
    int PointID,
    const FVector3d& Position
)

Add a point with given PointID at the given Position

Public function Const

bool

 

FindNearestCurveToRay

(
    const FRay3d& Ray,
    FNearest& ResultOut,
    TFunction< bool&, ...
)

PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant!

Public function Const

bool

 

FindNearestPointToRay

(
    const FRay3d& Ray,
    FNearest& ResultOut,
    TFunction< bool&, ...
)

PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant!

Public function

void

 

Reset

(
    bool bPoints,
    bool bCurves
)

Public function

void

 

UpdateCurve

(
    int CurveID,
    const FPolyline3d& Polyline
)

Update the Polyline of previously-added CurveID

Public function

void

 

UpdatePoint

(
    int PointID,
    const FVector3d& Position
)

Update the Position of previously-added PointID

Classes

Name

Description

Protected struct

FCurve

Public struct

FNearest

FNearest is returned by nearest-point queries

Protected struct

FPoint

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