public class FeatureRemoveHoleAction extends Object implements CustomAction
| Constructor and Description |
|---|
FeatureRemoveHoleAction(MappingComponent mc,
Feature f,
int position,
com.vividsolutions.jts.geom.LineString hole)
Creates a new FeatureRemoveHoleAction instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
Removes the hole.
|
boolean |
featureConcerned(Feature feature)
Checks, if the given feature is concerned from this action.
|
CustomAction |
getInverse()
Delivers the inverse action.
|
String |
info()
delivers the description of the action as string.
|
public FeatureRemoveHoleAction(MappingComponent mc, Feature f, int position, com.vividsolutions.jts.geom.LineString hole)
mc - the MappingComponent, the parent polygon is contained inf - the feature, the hole should be removed fromposition - the postion of the hole in the polygonhole - the hole to removepublic void doAction()
doAction in interface CustomActionpublic String info()
info in interface CustomActionpublic CustomAction getInverse()
getInverse in interface CustomActionpublic boolean featureConcerned(Feature feature)
CustomActionfeatureConcerned in interface CustomActionfeature - the feature that should be checkedCopyright © 2012–2026 cismet GmbH. All rights reserved.