Navigation
API > API/Runtime > API/Runtime/GeometryCore
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 | FGeometrySet3 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
| Include Path | #include "Spatial/GeometrySet3.h" |
Syntax
class FGeometrySet3
Structs
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCurve
(
int CurveID, |
Add a polycurve with given CurveID and the give Polyline | Spatial/GeometrySet3.h | |
void AddPoint
(
int PointID, |
Add a point with given PointID at the given Position | Spatial/GeometrySet3.h | |
bool CollectCurvesNearRay
(
const FRay3d& Ray, |
Like FindNearestCurveToRay, but gives all elements within tolerance, rather than just the closest. | Spatial/GeometrySet3.h | |
bool CollectPointsNearRay
(
const FRay3d& Ray, |
Like FindNearestPointToRay, but gives all elements within tolerance, rather than just the closest. | Spatial/GeometrySet3.h | |
bool FindAllCurvesSatisfying
(
PredicateType Predicate, |
Fills CurveIDsOut with IDs of curves that satisfy the given predicate. | Spatial/GeometrySet3.h | |
bool FindAllPointsSatisfying
(
PredicateType Predicate, |
Fills PointIDsOut with point IDs of points that satisfy the given predicate. | Spatial/GeometrySet3.h | |
bool FindNearestCurveToRay
(
const FRay3d& Ray, |
PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant! | Spatial/GeometrySet3.h | |
bool FindNearestPointToRay
(
const FRay3d& Ray, |
PointWithinToleranceTest is called in parallel and hence must be thread-safe/re-entrant! | Spatial/GeometrySet3.h | |
bool ParallelFindAllCurvesSatisfying
(
PredicateType Predicate, |
Like FindAllCurvesSatisfying, but parallel, so predicate must be safe to call in parallel. | Spatial/GeometrySet3.h | |
bool ParallelFindAllPointsSatisfying
(
PredicateType Predicate, |
Like FindAllPointsSatisfying, but parallel, so predicate must be safe to call in parallel. | Spatial/GeometrySet3.h | |
void RemoveCurve
(
int CurveID |
Remove a curve with given CurveID. | Spatial/GeometrySet3.h | |
void RemovePoint
(
int PointID |
Remove a point with given PointID. | Spatial/GeometrySet3.h | |
void Reset
(
bool bPoints, |
Spatial/GeometrySet3.h | ||
void UpdateCurve
(
int CurveID, |
Update the Polyline of previously-added CurveID | Spatial/GeometrySet3.h | |
void UpdatePoint
(
int PointID, |
Update the Position of previously-added PointID | Spatial/GeometrySet3.h |