first commit -push
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user