com.vividsolutions.jump.workbench.ui.plugin
Class VerticesInFencePlugIn

java.lang.Object
  extended bycom.vividsolutions.jump.workbench.plugin.AbstractPlugIn
      extended bycom.vividsolutions.jump.workbench.ui.plugin.VerticesInFencePlugIn
All Implemented Interfaces:
PlugIn

public class VerticesInFencePlugIn
extends AbstractPlugIn


Nested Class Summary
static interface VerticesInFencePlugIn.VerticesInFence
           
 
Constructor Summary
VerticesInFencePlugIn()
           
 
Method Summary
 boolean execute(PlugInContext context)
          Performs the action for this plugin.
static void main(java.lang.String[] args)
           
static java.util.Collection verticesInFence(java.util.Collection geometries, com.vividsolutions.jts.geom.Geometry fence, boolean skipClosingVertex)
           
static VerticesInFencePlugIn.VerticesInFence verticesInFence(com.vividsolutions.jts.geom.Geometry geometry, com.vividsolutions.jts.geom.Geometry fence, boolean skipClosingVertex)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
createName, execute, execute, getName, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerticesInFencePlugIn

public VerticesInFencePlugIn()
Method Detail

execute

public boolean execute(PlugInContext context)
                throws java.lang.Exception
Description copied from interface: PlugIn
Performs the action for this plugin. For threaded plugins with dialogs, this method contains the code to invoke the dialog. If the user cancels the dialog, this method should return false to prevent the run method from being called.

Specified by:
execute in interface PlugIn
Overrides:
execute in class AbstractPlugIn
Throws:
java.lang.Exception

verticesInFence

public static java.util.Collection verticesInFence(java.util.Collection geometries,
                                                   com.vividsolutions.jts.geom.Geometry fence,
                                                   boolean skipClosingVertex)

verticesInFence

public static VerticesInFencePlugIn.VerticesInFence verticesInFence(com.vividsolutions.jts.geom.Geometry geometry,
                                                                    com.vividsolutions.jts.geom.Geometry fence,
                                                                    boolean skipClosingVertex)
Parameters:
skipClosingVertex - whether to ignore the duplicate point that closes off a LinearRing or Polygon

main

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