Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/RangeSet.h |
| Include | #include "Math/RangeSet.h" |
Syntax
template<typename ElementType>
class TRangeSet
Remarks
Template for range sets.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TRangeSet () |
Default constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TRangeSet () |
Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Adds a range to the set. | ||
| bool | Checks whether this set contains the specified range. | ||
| bool | Contains
(
ElementValueOrConstRef Element |
Checks whether this set contains the specified element. | |
| void | Empty () |
Removes a range from the set.Ranges that overlap with the removed range will be split. | |
| BoundsType | GetMaxBound () |
Gets the range set's uppermost bound. | |
| ElementType | Gets the value of the uppermost bound. | ||
| BoundsType | GetMinBound () |
Gets the range set's lowest bound. | |
| ElementType | Gets the value of the lowest bound. | ||
| const void | Returns a read-only collection of the ranges contained in this set. | ||
| bool | HasMaxBound () |
Checks whether the range has an uppermost bound. | |
| bool | HasMinBound () |
Checks whether the range has a lowest bound. | |
| bool | IsEmpty () |
Checks whether this range set is empty. | |
| void | Merges another range set into this set. | ||
| bool | Checks whether this range set overlaps with the specified range. | ||
| bool | Checks whether this range set overlaps with another. |
Typedefs
| Name | Description |
|---|---|
| BoundsType | |
| ElementValueOrConstRef | |
| RangeType |