Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
Include |
#include "Spatial/GeometrySet3.h" |
class FGeometrySet3
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.
Name | Description | ||
---|---|---|---|
|
TMap< int, int ... |
CurveIDToIndex |
|
|
Curves |
||
|
TMap< int, int ... |
PointIDToIndex |
|
|
Points |
Name | Description | ||
---|---|---|---|
|
AddCurve ( |
Add a polycurve with given CurveID and the give Polyline |
|
|
AddPoint ( |
Add a point with given PointID at the given Position |
|
|
CollectCurvesNearRay |
Like FindNearestCurveToRay, but gives all elements within tolerance, rather than just the closest. |
|
|
CollectPointsNearRay |
Like FindNearestPointToRay, but gives all elements within tolerance, rather than just the closest. |
|
|
FindAllCurvesSatisfying ( |
Fills CurveIDsOut with IDs of curves that satisfy the given predicate. |
|
|
FindAllPointsSatisfying ( |
Fills PointIDsOut with point IDs of points that satisfy the given predicate. |
|
|
FindNearestCurveToRay |
PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant! |
|
|
FindNearestPointToRay |
PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant! |
|
|
ParallelFindAllCurvesSatisfying ( |
Like FindAllCurvesSatisfying, but parallel, so predicate must be safe to call in parallel. |
|
|
ParallelFindAllPointsSatisfying ( |
Like FindAllPointsSatisfying, but parallel, so predicate must be safe to call in parallel. |
|
|
RemoveCurve ( |
Remove a curve with given CurveID. |
|
|
RemovePoint ( |
Remove a point with given PointID. |
|
|
Reset |
||
|
UpdateCurve ( |
Update the Polyline of previously-added CurveID |
|
|
UpdatePoint ( |
Update the Position of previously-added PointID |