Lines Matching refs:fDistanceNormalized
888 double fDistanceNormalized = 0.0; in calculateExplicitIncrementAndScaleForLinear() local
906 fDistanceNormalized = 1.0; in calculateExplicitIncrementAndScaleForLinear()
916 fDistanceNormalized = fDistance / fDistanceMagnitude; in calculateExplicitIncrementAndScaleForLinear()
917 if( fDistanceNormalized <= 1.0 ) in calculateExplicitIncrementAndScaleForLinear()
918 fDistanceNormalized = 1.0; in calculateExplicitIncrementAndScaleForLinear()
919 else if( fDistanceNormalized <= 2.0 ) in calculateExplicitIncrementAndScaleForLinear()
920 fDistanceNormalized = 2.0; in calculateExplicitIncrementAndScaleForLinear()
921 else if( fDistanceNormalized <= 5.0 ) in calculateExplicitIncrementAndScaleForLinear()
922 fDistanceNormalized = 5.0; in calculateExplicitIncrementAndScaleForLinear()
925 fDistanceNormalized = 1.0; in calculateExplicitIncrementAndScaleForLinear()
935 if( fDistanceNormalized == 1.0 ) in calculateExplicitIncrementAndScaleForLinear()
936 fDistanceNormalized = 2.0; in calculateExplicitIncrementAndScaleForLinear()
937 else if( fDistanceNormalized == 2.0 ) in calculateExplicitIncrementAndScaleForLinear()
938 fDistanceNormalized = 5.0; in calculateExplicitIncrementAndScaleForLinear()
941 fDistanceNormalized = 1.0; in calculateExplicitIncrementAndScaleForLinear()
947 rExplicitIncrement.Distance = fDistanceNormalized * fDistanceMagnitude; in calculateExplicitIncrementAndScaleForLinear()