/// <summary> /// Method to compute the <see cref="CoordinateOptions.ARBLeverEndPoint"/> using the input coordinates and the <see cref="CoordinateInputFormat"/> /// </summary> public void Compute_ARBLeverEnd() { Point_Main = KO_CV_Main.Compute_PointOnPlane(KO_CV_Main.VCornerParams.RockerPlane, KO_CV_Main.VCornerParams.InputFormat, Point_Main); Plot_Point(Point_Main, PointName + VCorner_Main.ToString()); Design_Form.Plot_InboardPoints(Point_Main, KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis, PointName + VCorner_Main.ToString(), "ARB Lever" + VCorner_Main.ToString()); KO_CV_Main.VCornerParams.Initialize_Dictionary(); if (SymmetricSuspension) { Point_Counter = KO_CV_Counter.Compute_PointOnPlane(KO_CV_Counter.VCornerParams.RockerPlane, KO_CV_Counter.VCornerParams.InputFormat, Point_Counter); Plot_Point(Point_Counter, PointName + VCorner_Counter.ToString()); Design_Form.Plot_InboardPoints(Point_Counter, KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis, PointName + VCorner_Counter.ToString(), "ARB Lever" + VCorner_Counter.ToString()); KO_CV_Counter.VCornerParams.Initialize_Dictionary(); } }
private void Set_ARB_EndPoint_X() { if (DoubleValidation(tbARB_EndPoint_X.Text)) { KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis.Z = Convert.ToDouble(tbARB_EndPoint_X.Text); ParentObject.Plot_OutboardPoint(KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis, "KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis" + VCorner_Main.ToString()); if (Symmetry) { KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis.Z = KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis.Z; ParentObject.Plot_OutboardPoint(KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis, "KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis" + VCorner_Counter.ToString()); ParentObject.Plot_InboardPoints(KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis, KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis, "KO_CV_Main.VCornerParams.ARB_EndPoint_Chassis, KO_CV_Counter.VCornerParams.ARB_EndPoint_Chassis", "ARB" + VCorner_Main.ToString() + VCorner_Counter.ToString()); } } else { MessageBox.Show(NumericError); } }