Revision 560 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.convexhull/src/main/java/org/gvsig/geoprocess/algorithm/convexhull/ConvexHullAlgorithm.java
ConvexHullAlgorithm.java | ||
---|---|---|
49 | 49 |
|
50 | 50 |
/** |
51 | 51 |
* Convex Hull Algorithm |
52 |
*
|
|
52 |
* |
|
53 | 53 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
54 | 54 |
*/ |
55 | 55 |
public class ConvexHullAlgorithm extends AbstractSextanteGeoProcess { |
... | ... | |
59 | 59 |
public static final String CHECK = "CHECK"; |
60 | 60 |
|
61 | 61 |
public void defineCharacteristics() { |
62 |
setName(getTranslation("Convex Hull"));
|
|
62 |
setName(getTranslation("ConvexHull")); |
|
63 | 63 |
setGroup(getTranslation("basic_vect_algorithms")); |
64 | 64 |
// setGeneratesUserDefinedRasterOutput(false); |
65 | 65 |
try { |
... | ... | |
77 | 77 |
|
78 | 78 |
/* |
79 | 79 |
* (non-Javadoc) |
80 |
*
|
|
80 |
* |
|
81 | 81 |
* @see es.unex.sextante.core.GeoAlgorithm#processAlgorithm() |
82 | 82 |
*/ |
83 | 83 |
@SuppressWarnings("unchecked") |
... | ... | |
85 | 85 |
if(existsOutPutFile(ConvexHullAlgorithm.RESULT, 0)) { |
86 | 86 |
throw new GeoAlgorithmExecutionException(getTranslation("file_exists")); |
87 | 87 |
} |
88 |
|
|
88 |
|
|
89 | 89 |
IVectorLayer input = m_Parameters.getParameterValueAsVectorLayer(LAYER); |
90 | 90 |
boolean selectedGeom = |
91 | 91 |
m_Parameters.getParameter(CHECK).getParameterValueAsBoolean(); |
Also available in: Unified diff