public void RobotMoveTest() { var startPoint = new SimulationPoint(0.0, 0.0, -90.0); var geometry = new RobotGeometry(124.0, 66.4 / 2.0, 20); var m0 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, 0.0), 2.0, 2.0, geometry); var m1 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, 90.0), 2.0, 2.0, geometry); var m2 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, 180.0), 2.0, 2.0, geometry); var m3 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, 270.0), 2.0, 2.0, geometry); var m4 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, -90.0), 2.0, 2.0, geometry); var m5 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, -180.0), 2.0, 2.0, geometry); var m6 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, -270.0), 2.0, 2.0, geometry); var m7 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, 45.0), 2.0, 2.0, geometry); var m8 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, -45.0), 2.0, 2.0, geometry); var m9 = RobotHelper.CalculateMovement(new SimulationPoint(0.0, 0.0, -90.0), 0.0, 2.0, geometry); var movementEx1 = RobotHelper.CalculateMovement(startPoint, 2.0, 2.0, geometry); var movementEx2 = RobotHelper.CalculateMovement(startPoint, 1.999999, 2.0, geometry); var movementEx3 = RobotHelper.CalculateMovement(startPoint, 2.0, 1.999999, geometry); }
public static bool SetSupports(Frame Frame) { return(RobotGeometry.SetSupports(Frame)); }
public static bool DrawGrid(List <Grid> Grids) { return(RobotGeometry.DrawGrids(Grids)); }
//public static bool SetCases() //{ // return RobotStart.SetCases(); //} public static bool SetSupports(List <Node> FrameNodes) { return(RobotGeometry.SetSupports(FrameNodes)); }
public static bool DrawFrame(List <Node> FrameNodes) { return(RobotGeometry.DrawFrame(FrameNodes)); }
// public static bool DrawPurlin(int beamId, Node _startPoint, Node _endPoint) //{ // return RobotStart.DrawPurlin(beamId,_startPoint, _endPoint); //} #endregion public static bool DrawFrame(Frame Frame) { return(RobotGeometry.DrawFrame(Frame)); }
public static bool DrawColumn(Column _column) { return(RobotGeometry.DrawColumn(_column)); }
public static bool DrawBeam(Beam _beam) { return(RobotGeometry.DrawBeam(_beam)); }
public static bool DrawColumn(int beamId, Node _startPoint, Node _endPoint) { return(RobotGeometry.DrawColumn(beamId, _startPoint, _endPoint)); }