Navigation
API > API/Runtime > API/Runtime/GeometryCore
Classes
| Type | Name | Description | |
|---|---|---|---|
| ExpandEnumerable | Generic "enumerable" object that provides begin/end semantics for an ExpandIterator suitable for use with range-based for. | ||
| ExpandIterator | Wrapper around existing iterator that returns multiple values, of potentially different type, for each value that input iterator returns. | ||
| FArrayIndexSetsDecomposition | FArrayIndexSetsDecomposition represents a decomposition of an integer index set into subsets, which are stored as arrays (ie this is just an array of arrays, where each sub-array has a unique integer identifier) | ||
| FCompactMaps | Stores index remapping for vertices and triangles. | ||
| FElementLinearization | FElementLinearization maps a potentially-sparse index list into a linear array. | ||
| FGeometryError | FGeometryError represents an error code/message emitted by a geometry operation. | ||
| FGeometryResult | FGeometryResult represents a combined "success/failure/etc" state for a geometry operation along with a set of Error and Warning codes/messages. | ||
| FGeometryWarning | FGeometryWarning represents a warning code/message emitted by a geometry operation. | ||
| FilteredIterator | Wrapper around an existing iterator that skips over values for which the filter_func returns false. | ||
| FIndexFlagSet | This class provides optionally sparse or dense boolean flags for a set of integer indices | ||
| FIndexPriorityQueue | This is a min-heap priority queue class that does not use an object for each queue node. | ||
| FMeshTriInfoCache | Basic cache of per-triangle information for a mesh | ||
| FModuloIteration | FModuloIteration is used to iterate over a range of indices [0,N) using modulo-arithmetic. | ||
| FOptionallySparseIndexMap | Index map that supports dense or sparse storage, or a simple formula-based map (e.g. constant, identity, shift) For dense and sparse, the formula can be used to set default values. | ||
| FProgressCancel | FProgressCancel is intended to be passed to long-running computes to do two things: 1) provide progress info back to caller 2) allow caller to cancel the computation | ||
| FRefCountVector | FRefCountVector is used to keep track of which indices in a linear Index list are in use/referenced. | ||
| FSmallListSet | FSmallListSet stores a set of short integer-valued variable-size lists. | ||
| FUniqueIndexSet | FUniqueIndexSet is used to construct a list of unique elements of integers in range [0, MaxValue]. | ||
| MappedIterator | Wrapper around an object of type IteratorT that provides STL iterator-like semantics, that converts from the iteration type (FromType) to a new type (ToType). | ||
| TBoundsGridIndexer3 | |||
| TDynamicVector | Blocked array with fixed, power-of-two sized blocks. | ||
| TDynamicVectorN | |||
| TPairExpandEnumerable | Generic "enumerable" object that provides begin/end semantics for an TPairExpandIterator suitable for use with range-based for. | ||
| TPairExpandIterator | Wrapper around existing integer iterator that returns either 0, 1, or 2 integers for each value that the original iterator returns. | ||
| TScaleGridIndexer2 | Convert between integer grid coordinates and scaled real-valued coordinates (ie assumes integer grid origin == real origin) | ||
| TScaleGridIndexer3 | Convert between integer grid coordinates and scaled real-valued coordinates (ie assumes integer grid origin == real origin) | ||
| TShiftGridIndexer2 | Convert between integer grid coordinates and scaled+translated real-valued coordinates | ||
| TShiftGridIndexer3 | Convert between integer grid coordinates and scaled+translated real-valued coordinates | ||
| TSparseListSet | TSparseListSet stores a sparse set of indexed variable-size lists. | ||
| TVector2Arrays | Structure-of-Array (SoA) storage for a list of 2-vectors | ||
| TVector3Arrays | Structure-of-Array (SoA) storage for a list of 3-vectors |
Typedefs
Enums
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::EGeometryResultType | EGeometryResultType is a generic result-code for use by geometry operations. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BufferUtil::AppendElements
(
TArray< T >& AppendTo, |
Append enumerable elements to an array | |
| int | BufferUtil::CountValid
(
const TArray< T >& Data, |
Count number of elements in array (or within requested range) that pass Predicate test | |
| int | BufferUtil::FilterInPlace
(
TArray< T >& Data, |
Removes elements of array (or within requested range) that do not pass Predicate, by shifting forward. | |
| TVector< T > | IndexUtil::ApplyMap
(
const TVector< T >& Val, |
||
| FIndex3i | IndexUtil::ApplyMap
(
const FIndex3i& Val, |
||
| void | IndexUtil::ApplyMap
(
TVector< T >& Val, |
Replace Val with MapFunc[Val] using index operator | |
| void | IndexUtil::ApplyMap
(
FIndex3i& Val, |
Replace Val with MapFunc[Val] using index operator | |
| bool | IndexUtil::ArrayCheck
(
const TArray< T >& ToCheck, |
||
| int | IndexUtil::FindEdgeIndexInTri
(
T VertexID1, |
Find unordered edge [VertexID1,VertexID2] in TriangleVerts | |
| int | IndexUtil::FindEdgeOtherVertex
(
const FIndex2i& EdgeVerts, |
||
| int | IndexUtil::FindSharedEdgeVertex
(
const FIndex2i& EdgeVerts1, |
||
| int | IndexUtil::FindTriIndex
(
T VertexID, |
||
| int | IndexUtil::FindTriOrderedEdge
(
T VertexID1, |
Find ordered edge [VertexID1,VertexID2] in TriangleVerts | |
| int | IndexUtil::FindTriOtherIndex
(
T VertexID1, |
Find ordered edge [VertexID1,VertexID2] in TriangleVerts and then return the index of the remaining third vertex | |
| int | IndexUtil::FindTriOtherVtx
(
T VertexID1, |
Find ordered edge [VertexID1,VertexID2] in TriangleVerts and then return the remaining third vertex | |
| int | IndexUtil::FindTriOtherVtx
(
int VertexID1, |
Find ordered edge [VertexID1,VertexID2] in a triangle that is in an array of triangles, and return remaining third vertex | |
| int | IndexUtil::FindTriOtherVtxUnsafe
(
T VertexID1, |
Find third vertex of triangle that is not VertexID1 or VertexID2. | |
| int | IndexUtil::GetOtherTriIndex
(
int i0, |
If i0 and i1 are unordered indices into a triangle, each in range 0-2, return the third index | |
| bool | IndexUtil::OrientTriEdge
(
T& Vertex1, |
Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts) | |
| int | IndexUtil::OrientTriEdgeAndFindOtherVtx
(
T& Vertex1, |
Assuming [Vertex1,Vertex2] is an unordered edge in TriangleVerts, return Vertex1 and Vertex2 in the correct order (ie the same as TriangleVerts), and returns the vertex ID of the other vertex | |
| bool | IndexUtil::SamePairUnordered
(
T a0, |
||
| GEOMETRYCORE_API void | RevolveUtil::GenerateSweepCurve
(
const FVector3d& RevolutionAxisOrigin, |
Generates a sweep curve with the initial frame at the origin and the rest rotated around the given axis. | |
| GEOMETRYCORE_API void | RevolveUtil::MakeProfileCurveMidpointOfFirstStep
(
TArray< FVector3d >& ProfileCurve, |
Shifts the profile curve in such a way that it becomes the midpoint of the first rotation step (i.e., rotates it back half a step while projecting it outward onto the plane passing through the profile). | |
| GEOMETRYCORE_API bool | RevolveUtil::ProfileIsCCWRelativeRevolve
(
TArray< FVector3d >& ProfileCurve, |
Returns true if the profile curve is counterclockwise relative to the rotation direction. | |
| GEOMETRYCORE_API void | Checks the profile curve for points that lie within a particular tolerance of the revolution axis. | ||
| FColor | |||
| FLinearColor | X11 Colors - https://www.w3.org/TR/css-color-3/#html4 python code to parse text file: | ||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| void | UE::Geometry::LinearColors::LinearToSRGB
(
VectorType& Color |
Apply a Linear to sRGB color transformation on a given color vector. | |
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| VectorType | UE::Geometry::LinearColors::MakeColor3f
(
float R, |
||
| VectorType | UE::Geometry::LinearColors::MakeColor4f
(
float R, |
||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| VectorType | UE::Geometry::LinearColors::SelectColor
(
int32 Index |
Select a Color from a fixed color palette based on given Index | |
| FColor | Select a FColor from a fixed color palette based on given Index | ||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| void | UE::Geometry::LinearColors::SRGBToLinear
(
VectorType& Color |
Apply an sRGB to Linear color transformation on a given color vector. | |
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor | |||
| FColor | |||
| FLinearColor |
Variables
| Type | Name | Description | |
|---|---|---|---|
| const int[6] | BoxFaceNormals | Box Face Normal Axes associated with BoxFaces. | |
| const int[6][4] | BoxFaces | Corner vertices of box faces - see FOrientedBox3.GetCorner for points associated w/ indexing | |
| const FVector2i[4] | BoxFacesUV | Corner unit-UV ordering of box faces - {0,0}, {1,0}, {1,1}, {0,1} | |
| const FVector3i[26] | GridOffsets26 | All permutations of (+-1, +-1, +-1), can be used to iterate over connected face/edge/corner neighbours of a grid cell | |
| const FVector2i[4] | GridOffsets4 | Integer indices offsets in x/y directions | |
| const FVector3i[6] | GridOffsets6 | Integer indices offsets in x/y/z directions, corresponds w/ BoxFaces directions | |
| const FVector2i[8] | GridOffsets8 | Integer indices offsets in x/y directions and diagonals |