程序包 com.rokae.sdk.model.commands

# 类 MoveSPCommand

java.lang.Object
com.rokae.sdk.model.commands.Command
com.rokae.sdk.model.commands.MoveSPCommand

public class MoveSPCommand extends Command

- ## 构造器概要

  构造器
  构造器
  说明
  `MoveSPCommand(CartesianPosition target, double radius, double rStep, double angle, boolean dir)`
  `MoveSPCommand(CartesianPosition target, double radius, double rStep, double angle, boolean dir, int speed)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `double`
  `getAngle()`
  `double`
  `getRadius()`
  `double`
  `getrStep()`
  `CartesianPosition`
  `getTarget()`
  `boolean`
  `isDir()`
  `void`
  `setAngle(double angle)`
  `void`
  `setDir(boolean dir)`
  `void`
  `setRadius(double radius)`
  `void`
  `setrStep(double rStep)`
  `void`
  `setTarget(CartesianPosition target)`

  ### 从类继承的方法 com.rokae.sdk.model.commands.Command

  `getCommandType, getSpeed, getZone, setSpeed, setZone`

  ### 从类继承的方法 java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### MoveSPCommand

    public MoveSPCommand(CartesianPosition target, double radius, double rStep, double angle, boolean dir)
    参数:
      `target` - 目标点位
      `radius` - 初始半径
      `rStep` - 半径增长率
      `angle` - 旋转角度
      `dir` - 旋转方向，true：顺时针，false:逆时针

  - ### MoveSPCommand

    public MoveSPCommand(CartesianPosition target, double radius, double rStep, double angle, boolean dir, int speed)
    参数:
      `target` - 目标点位
      `radius` - 初始半径
      `rStep` - 半径增长率
      `angle` - 旋转角度
      `dir` - 旋转方向，true：顺时针，false:逆时针
      `speed` - 速度

- ## 方法详细资料

  - ### getRadius

    public double getRadius()

  - ### setRadius

    public void setRadius(double radius)

  - ### getrStep

    public double getrStep()

  - ### setrStep

    public void setrStep(double rStep)

  - ### getAngle

    public double getAngle()

  - ### setAngle

    public void setAngle(double angle)

  - ### isDir

    public boolean isDir()

  - ### setDir

    public void setDir(boolean dir)

  - ### getTarget

    public CartesianPosition getTarget()

  - ### setTarget

    public void setTarget(CartesianPosition target)