| java.lang.Object de.fho.jump.pirol.utilities.apiTools.ToolToMakeYourLifeEasier de.fho.jump.pirol.utilities.apiTools.SelectionTools
SelectionTools | public class SelectionTools extends ToolToMakeYourLifeEasier (Code) | | Class to easily handle selections and selection tools. Also has methods to
find features by given geometries.
author: Ole Rahn author: FH Osnabrück - University of Applied Sciences Osnabrück author: Project PIROL 2005 author: Daten- und Wissensmanagement |
Method Summary | |
public List | getFeaturesInFence() | public static Feature[] | getFeaturesInFenceInLayer(Layer layer, Geometry fenceGeometry) Get a list of those features from the given layer that are included by the given fence geometry. | public static Feature[] | getFeaturesInFenceInLayer(Feature[] featArray, Geometry fenceGeometry) Get a list of features (a sub list of the given array) that are included by the given fence geometry. | public static List | getFeaturesInFenceInLayerAsList(Layer layer, Geometry fenceGeometry) Get a list of those features from the given layer that are included by the given fence geometry. | public List | getFeaturesInGeometry(Geometry fenceGeometry) | public static Feature[] | getFeaturesOnTheSameSpot(Layer layer, Geometry fenceGeometry, boolean bothWays) Get a list of those features from the given layer that are included by the given fence geometry. | public static Feature[] | getFeaturesOnTheSameSpot(Feature[] featArray, Geometry fenceGeometry, boolean bothWays) Get a list of features (a sub list of the given array) that are included by the given fence geometry. | public static Geometry | getFenceGeometry(PlugInContext context) | public Geometry | getFenceGeometry() | public static List<Feature> | getSelectedFeatures(PlugInContext context) | public List<Feature> | getSelectedFeatures() | public static List<Feature> | getSelectedFeaturesFromLayer(PlugInContext context, Layer layer) | public void | selectFeatures(List features) | public static void | selectFeatures(List features, PlugInContext context) | public static void | selectLayer(PlugInContext context, Layer layer) |
getFeaturesInFence | public List getFeaturesInFence()(Code) | | |
getFeaturesInFenceInLayer | public static Feature[] getFeaturesInFenceInLayer(Layer layer, Geometry fenceGeometry)(Code) | | Get a list of those features from the given layer that are included by the given fence geometry.
Parameters: layer - - Layer to search in Parameters: fenceGeometry - - Geometry to search in |
getFeaturesInFenceInLayer | public static Feature[] getFeaturesInFenceInLayer(Feature[] featArray, Geometry fenceGeometry)(Code) | | Get a list of features (a sub list of the given array) that are included by the given fence geometry.
Parameters: featArray - - Array of features to search in Parameters: fenceGeometry - - Geometry to search in |
getFeaturesInFenceInLayerAsList | public static List getFeaturesInFenceInLayerAsList(Layer layer, Geometry fenceGeometry)(Code) | | Get a list of those features from the given layer that are included by the given fence geometry.
Parameters: layer - - Layer to search in Parameters: fenceGeometry - - Geometry to search in |
getFeaturesInGeometry | public List getFeaturesInGeometry(Geometry fenceGeometry)(Code) | | |
getFeaturesOnTheSameSpot | public static Feature[] getFeaturesOnTheSameSpot(Layer layer, Geometry fenceGeometry, boolean bothWays)(Code) | | Get a list of those features from the given layer that are included by the given fence geometry.
Parameters: layer - - Layer to search in Parameters: fenceGeometry - - Geometry to search in Parameters: bothWays - - sets if it's also a hit if the feature's geometry includes the fence geometry |
getFeaturesOnTheSameSpot | public static Feature[] getFeaturesOnTheSameSpot(Feature[] featArray, Geometry fenceGeometry, boolean bothWays)(Code) | | Get a list of features (a sub list of the given array) that are included by the given fence geometry.
Parameters: featArray - - Array of features to search in Parameters: fenceGeometry - - Geometry to search in Parameters: bothWays - - sets if it's also a hit if the feature's geometry includes the fence geometry |
getFenceGeometry | public static Geometry getFenceGeometry(PlugInContext context)(Code) | | Parameters: context - current PlugIn context the geometry of the current fence, or null if there is currently no fence |
getFenceGeometry | public Geometry getFenceGeometry()(Code) | | the geometry of the current fence, or null if there is currently no fence |
selectFeatures | public void selectFeatures(List features)(Code) | | create a selection out of the given features that is visible in the Jump map
Parameters: features - features to be selected |
|
|