Navigation
API > API/Runtime > API/Runtime/CADKernel
Description
Wraps a periodic value into a prime period defined by its StartOfPeriod value and its EndOfPeriod value Mandatory EndOfPeriod - StartOfPeriod = PeriodSize
Fast FMath::Fmod or FMath::Floor for the special case of Slope functions since most of the time the input value doesn't need to be change
| Name | UE::CADKernel::WrapTo |
| Type | function |
| Header File | /Engine/Source/Runtime/Datasmith/CADKernel/Base/Public/Math/MathConst.h |
| Include Path | #include "Math/MathConst.h" |
namespace UE
{
namespace CADKernel
{
double UE::CADKernel::WrapTo
(
double Slope,
const double StartOfPeriod,
const double EndOfPeriod,
const double PeriodLength
)
}
}
See Also
- SlopeUtils.h