Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/BoxTypes.h |
| Include | #include "BoxTypes.h" |
Syntax
template<typename RealType>
struct TInterval1
Variables
| Type | Name | Description | |
|---|---|---|---|
| RealType | Max | ||
| RealType | Min |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TInterval1 () |
|||
TInterval1
(
const RealType& Min, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| RealType | Center () |
||
| RealType | Clamp
(
RealType f |
Clamp Value f to interval [Min,Max] | |
| void | Contain
(
const RealType& V |
||
| void | Contain
(
const TInterval1< RealType >& O |
||
| bool | Contains
(
const TInterval1< RealType >& O |
||
| bool | Contains
(
RealType D |
||
| RealType | Dist
(
const TInterval1< RealType >& O |
||
| TInterval1< RealType > | Empty () |
||
| void | Expand
(
RealType Radius |
||
| RealType | Extent () |
||
| RealType | GetT
(
RealType Value |
Convert Value into (clamped) T Value in range [0,1] | |
| RealType | Interpolate
(
RealType T |
Interpolate between Min and Max using Value T in range [0,1] | |
| TInterval1< RealType > | IntersectionWith
(
const TInterval1< RealType >& O |
||
| bool | IsEmpty () |
||
| RealType | Length () |
||
| TInterval1< RealType > | MakeFromUnordered
(
const RealType& A, |
||
| RealType | |||
| bool | Overlaps
(
const TInterval1< RealType >& O |
||
| void | Set
(
TInterval1 O |
||
| void | Set
(
RealType A, |
||
| RealType | SquaredDist
(
const TInterval1< RealType >& O |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TInterval1 | operator-
(
RealType f |
||
| TInterval1 | operator-
(
TInterval1 V |
||
| TInterval1 | operator*
(
RealType f |
||
| TInterval1 | operator+
(
RealType f |