swift
Loading...
Searching...
No Matches
interpolatorfunctions.h File Reference

Go to the source code of this file.

Namespaces

namespace  swift::misc
 Free functions in swift::misc.

Functions

bool swift::misc::simulation::isValidTimeFraction (double timeFraction)
 Valid time fraction [0,1].
bool swift::misc::simulation::isAcceptableTimeFraction (double timeFraction)
 Valid time fraction [0,1], this allows minor overshooting.
double swift::misc::simulation::clampValidTimeFraction (double timeFraction)
 Clamp time fraction [0,1].

Function Documentation

◆ clampValidTimeFraction()

double swift::misc::simulation::clampValidTimeFraction ( double timeFraction)
inline

Clamp time fraction [0,1].

Definition at line 18 of file interpolatorfunctions.h.

◆ isAcceptableTimeFraction()

bool swift::misc::simulation::isAcceptableTimeFraction ( double timeFraction)
inline

Valid time fraction [0,1], this allows minor overshooting.

Definition at line 15 of file interpolatorfunctions.h.

◆ isValidTimeFraction()

bool swift::misc::simulation::isValidTimeFraction ( double timeFraction)
inline

Valid time fraction [0,1].

Definition at line 12 of file interpolatorfunctions.h.