camera3d.action
Class GetDistanceAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.MeasurerAction
          extended bycamera3d.action.GetDistanceAction

public class GetDistanceAction
extends MeasurerAction

Action for getting the distance measured by a DistanceMeasurer.

Version:
1.0
Author:
Fábio Roberto de Miranda

Field Summary
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
GetDistanceAction(DistanceMeasurer measurer, java.lang.Object caller)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 double getDistance()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class camera3d.action.VcAction
debugln, getMultiplicityType, isUndoable, setMultiplicityType, undoAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDistanceAction

public GetDistanceAction(DistanceMeasurer measurer,
                         java.lang.Object caller)
Method Detail

doAction

public void doAction(ActionExecutor executor)
Description copied from class: VcAction
Performs the action.

Specified by:
doAction in class VcAction
Parameters:
executor - provides any resource necessary for the action execution, such as references to other objects.

getDistance

public double getDistance()

main

public static void main(java.lang.String[] args)


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.