Exit Sub
       End If
  End If
  If CircleTime = False Then
    CurrentNI = I
    CurrentNJ = J
    PointX(0) = I + CurrentNR
    PointY(0) = J
    PointX(1) = I
    PointY(1) = J + CurrentNR
    PointX(2) = I - CurrentNR
    PointY(2) = J
    PointX(3) = I
    PointY(3) = J - CurrentNR
  Else
    CurrentNI = I
    CurrentNJ = J
    PointX(0) = I + CurrentNR
    PointY(0) = J
    PointX(3) = I
    PointY(3) = J + CurrentNR
    PointX(2) = I - CurrentNR
    PointY(2) = J
    PointX(1) = I
    PointY(1) = J - CurrentNR
  End If
  SPXY = JudgePXY(CurrentNX, CurrentNY, I, J, CircleTime)
  EPXY = JudgePXY(X, Y, I, J, CircleTime)
  If SPXY <> EPXY Then
     If EPXY > SPXY Then
        For CallFOR = SPXY To EPXY
           If CallFOR + 1 < EPXY Then
            Call PXYTOGraphic(PointX(CallFOR + 1), PointY(CallFOR + 1), CallFOR, CallFOR + 1, CircleTime)
           Else
            Call PXYTOGraphic(X, Y, CallFOR, CallFOR + 1, CircleTime)
           End If
           If CallFOR + 1 = EPXY Then
             Exit For
           End If
        Next CallFOR
     ElseIf EPXY < SPXY Then
        If SPXY < 4 Then
            For CallFOR = SPXY To 3
               If CallFOR + 1 <> 4 Then
                Call PXYTOGraphic(PointX(CallFOR + 1), PointY(CallFOR + 1), CallFOR, CallFOR + 1, CircleTime)
               Else
                Call PXYTOGraphic(PointX(0), PointY(0), CallFOR, CallFOR + 1, CircleTime)
               End If
            Next CallFOR
        End If
        If EPXY = 1 Then
         Call PXYTOGraphic(X, Y, 4, 1, CircleTime)
        ElseIf EPXY > 1 Then
         Call PXYTOGraphic(PointX(1), PointY(1), 4, 1, CircleTime)
           For CallFOR = 1 To EPXY - 1
            If CallFOR + 1 = EPXY Then
              Call PXYTOGraphic(X, Y, CallFOR, CallFOR + 1, CircleTime)
              Exit For
上一篇:企业物流系统规划及合理化研究
下一篇:用于生物柴油制备的微波炉搅拌装置设计

含集中质量的刚柔耦合机械臂系统动力学仿真

机械加工仿真技术研究【1839字】

数控技术发展趋势智能化数控系统【1672字】

3DVia Composer动画模拟工程机械的研究【2387字】

12000HP油服船海水冷却系统监控与仿真开发

ADAMS直列6缸柴油机虚拟样...

Matlab12000HP油服船电站系统监测与仿真开发

承德市事业单位档案管理...

志愿者活动的调查问卷表

AT89C52单片机的超声波测距...

中国学术生态细节考察《...

公寓空调设计任务书

神经外科重症监护病房患...

C#学校科研管理系统的设计

国内外图像分割技术研究现状

医院财务风险因素分析及管理措施【2367字】

10万元能开儿童乐园吗,我...