MorphAL 0.1

fr.ign.cogit.alpage.morphal.plugindeprecated
Class CodeEnVracPlugin

java.lang.Object
  extended by com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
      extended by fr.ign.cogit.alpage.morphal.plugindeprecated.CodeEnVracPlugin
All Implemented Interfaces:
PlugIn, ThreadedPlugIn

public class CodeEnVracPlugin
extends AbstractPlugIn
implements ThreadedPlugIn

Plugin qui ajoute un attribut "orientation" � une couche de polylignes

Author:
Eric Grosso - IGN / Laboratoire COGIT

Constructor Summary
CodeEnVracPlugin()
           
 
Method Summary
 double angle(Point point, Point point2)
          Calcul l'angle entre 2 points (entre 0 et 2*PI)
static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
           
 boolean execute(PlugInContext context)
           
 void initialize(PlugInContext context)
           
 void run(TaskMonitor monitor, PlugInContext context)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
createName, execute, getName, toActionListener, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.vividsolutions.jump.workbench.plugin.PlugIn
getName
 

Constructor Detail

CodeEnVracPlugin

public CodeEnVracPlugin()
Method Detail

initialize

public void initialize(PlugInContext context)
Specified by:
initialize in interface PlugIn
Overrides:
initialize in class AbstractPlugIn

createEnableCheck

public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)

execute

public boolean execute(PlugInContext context)
Specified by:
execute in interface PlugIn
Overrides:
execute in class AbstractPlugIn

run

public void run(TaskMonitor monitor,
                PlugInContext context)
Specified by:
run in interface ThreadedPlugIn

angle

public double angle(Point point,
                    Point point2)
Calcul l'angle entre 2 points (entre 0 et 2*PI)


MorphAL 0.1