public class VerticesInFencePlugIn extends AbstractPlugIn
| Modifier and Type | Class and Description |
|---|---|
static interface |
VerticesInFencePlugIn.VerticesInFence |
shortcutKeys, shortcutModifiers| Constructor and Description |
|---|
VerticesInFencePlugIn() |
| Modifier and Type | Method and Description |
|---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
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) |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringpublic boolean execute(PlugInContext context) throws java.lang.Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public static java.util.Collection verticesInFence(java.util.Collection geometries,
com.vividsolutions.jts.geom.Geometry fence,
boolean skipClosingVertex)
public static VerticesInFencePlugIn.VerticesInFence verticesInFence(com.vividsolutions.jts.geom.Geometry geometry, com.vividsolutions.jts.geom.Geometry fence, boolean skipClosingVertex)
skipClosingVertex - whether to ignore the duplicate point that closes off a LinearRing
or Polygonpublic static void main(java.lang.String[] args)