Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/RangeSet.h |
Include |
#include "Math/RangeSet.h" |
template<typename ElementType>
class TRangeSet
Template for range sets.
Name | Description | |
---|---|---|
|
TRangeSet() |
Default constructor. |
Name | Description | |
---|---|---|
|
~TRangeSet() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
Add ( |
Adds a range to the set. |
|
|
Contains ( |
Checks whether this set contains the specified range. |
|
|
Contains ( |
Checks whether this set contains the specified element. |
|
|
Empty() |
Removes a range from the set. Ranges that overlap with the removed range will be split. |
|
|
GetMaxBound() |
Gets the range set's uppermost bound. |
|
|
ElementType |
GetMaxBoundValue() |
Gets the value of the uppermost bound. |
|
GetMinBound() |
Gets the range set's lowest bound. |
|
|
ElementType |
GetMinBoundValue() |
Gets the value of the lowest bound. |
|
const void |
GetRanges |
Returns a read-only collection of the ranges contained in this set. |
|
HasMaxBound() |
Checks whether the range has an uppermost bound. |
|
|
HasMinBound() |
Checks whether the range has a lowest bound. |
|
|
IsEmpty() |
Checks whether this range set is empty. |
|
|
Merge ( |
Merges another range set into this set. |
|
|
Overlaps ( |
Checks whether this range set overlaps with the specified range. |
|
|
Overlaps ( |
Checks whether this range set overlaps with another. |
Name |
Description |
---|---|
BoundsType |
|
ElementValueOrConstRef |
|
RangeType |