com.vividsolutions.jump.workbench.ui.plugin
Class VerticesInFencePlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.plugin.VerticesInFencePlugIn
- All Implemented Interfaces:
- PlugIn
- public class VerticesInFencePlugIn
- extends AbstractPlugIn
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VerticesInFencePlugIn
public VerticesInFencePlugIn()
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)