public class VerticesInFencePlugIn extends AbstractPlugIn
| Modifier and Type | Class and Description |
|---|---|
static interface |
VerticesInFencePlugIn.VerticesInFence |
| Constructor and Description |
|---|
VerticesInFencePlugIn() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
static Collection |
verticesInFence(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) |
createName, execute, execute, getName, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toStringpublic boolean execute(PlugInContext context) throws Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class AbstractPlugInException - if a problem occurs during plug-in executionThreadedPlugInpublic static Collection verticesInFence(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 PolygonCopyright © 2015. All rights reserved.