java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.measure.MeasureCmd

public class MeasureCmd extends Command
A command that dispatches to various measurement subcommands like VolumeCmd and DistanceCmd. This command acts as a parent for all measurement-related operations.

Aliases: measure, meas, m

Author:
Lehlogonolo Poole
See Also:
  • Field Details

  • Constructor Details

    • MeasureCmd

      public MeasureCmd()
  • Method Details

    • run

      public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs)
      Description copied from class: Command
      The method to be overridden by subclasses to implement command functionality.
      Overrides:
      run in class Command
      Parameters:
      invoker - The invoker of this command
      logLabel - The JLabel to display log messages.
      aliasUsed - The alias of the command that was used to invoke it.
      args - The arguments passed to the command.
      taggedArgs - Tagged arguments passed to the command.
    • infer

      public void infer(HashSet<GObject> selected, SafeJLabel logLabel)