namespace RobotNet.RobotManager.Services.Simulation.Algorithm;

public class MathExtension
{
    public static double ToRad => Math.PI / 180;
    public static double ToDegree => 180 / Math.PI;
    public static double CheckLimit(double value, double Max, double Min) => value < Max ? value > Min ? value : Min : Max;
}
