Revision 45131 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.api/src/main/java/org/gvsig/fmap/geom/GeometryUtils.java
GeometryUtils.java | ||
---|---|---|
78 | 78 |
} |
79 | 79 |
} |
80 | 80 |
|
81 |
public static Envelope createEnvelope(double minX, double minY, double maxX, |
|
82 |
double maxY, int subType) { |
|
83 |
GeometryManager geomManager = GeometryLocator.getGeometryManager(); |
|
84 |
try { |
|
85 |
return geomManager.createEnvelope(minX, minY, maxX, maxY, subType); |
|
86 |
} catch (CreateEnvelopeException ex) { |
|
87 |
return null; |
|
88 |
} |
|
89 |
} |
|
90 |
|
|
81 | 91 |
public static Line createLine(int subType) { |
82 | 92 |
GeometryManager geomManager = GeometryLocator.getGeometryManager(); |
83 | 93 |
try { |
Also available in: Unified diff