Class AngularVelocityUtil
- Namespace
- Hi.Vibrations
- Assembly
- HiMech.dll
Provides utility methods for working with angular velocity.
public static class AngularVelocityUtil
- Inheritance
-
AngularVelocityUtil
- Inherited Members
Methods
GetFrequency(IAngularVelocityOwner)
Gets the frequency in Hz from angular velocity.
public static double GetFrequency(this IAngularVelocityOwner src)
Parameters
src
IAngularVelocityOwnerThe angular velocity owner.
Returns
- double
The frequency in Hz.
SetFrequency(IAngularVelocityOwner, double)
Sets the angular velocity based on the specified frequency.
public static void SetFrequency(this IAngularVelocityOwner src, double freq)
Parameters
src
IAngularVelocityOwnerThe angular velocity owner.
freq
doubleThe frequency in Hz.