net.sf.drawj2d.cmd.statics
Class StatMove2Cmd
- java.lang.Object
-
- net.sf.drawj2d.cmd.statics.StatMove2Cmd
-
- All Implemented Interfaces:
- Command
public class StatMove2Cmd extends java.lang.Object implements Command
StatMove2Cmdimplements the "stat.move2" command, which moves the force along the its action line, until its arrow head intersects the extension of a line. If parallel the input force is returned.
-
-
Constructor Summary
Constructors Constructor and Description StatMove2Cmd(API api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ThingcmdCode(Interp interp, Thing[] argv)ThecmdCodemethod takes an interpreter and an array of Things, performs some calculations, and returns aThingrepresenting the computed value, ornull.
-
-
-
Constructor Detail
-
StatMove2Cmd
public StatMove2Cmd(API api)
-
-
Method Detail
-
cmdCode
public Thing cmdCode(Interp interp, Thing[] argv) throws HeclException
Description copied from interface:CommandThecmdCodemethod takes an interpreter and an array of Things, performs some calculations, and returns aThingrepresenting the computed value, ornull.- Specified by:
cmdCodein interfaceCommand- Parameters:
interp- anInterpvalueargv- aThing[]value- Returns:
- A
Thingrepresenting the computed value, ornull. - Throws:
HeclException- if an error occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG