Package org.gvsig.fmap.geom.jts
Class AbstractGeometry
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,org.gvsig.fmap.geom.Geometry,GeometryJTS
- Direct Known Subclasses:
AbstractAggregate,AbstractPrimitive,DefaultComplex
- Author:
- gvSIG Team
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
org.gvsig.fmap.geom.Geometry.DIMENSIONS, org.gvsig.fmap.geom.Geometry.OPERATIONS, org.gvsig.fmap.geom.Geometry.SUBTYPES, org.gvsig.fmap.geom.Geometry.TYPES, org.gvsig.fmap.geom.Geometry.ValidationStatus -
Field Summary
FieldsFields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublearea()org.gvsig.fmap.geom.Geometryboundary()org.gvsig.fmap.geom.Geometrybuffer(double distance) org.gvsig.fmap.geom.Geometrybuffer(double distance, int joinStyle, boolean capButt) org.gvsig.fmap.geom.primitive.Pointcentroid()org.gvsig.fmap.geom.Geometryclone()org.gvsig.fmap.geom.Geometry[]closestPoints(org.gvsig.fmap.geom.Geometry other) intbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleanbooleancontains(org.gvsig.fmap.geom.Geometry geometry) byte[]byte[]convertToEWKB(int srs) byte[]convertToEWKBForcingType(int srs, int type) convertToGeoJson(Map<String, Object> properties, boolean encodecrs) byte[]byte[]convertToWKB(int srs) byte[]convertToWKBForcingType(int srs, int type) byte[]org.gvsig.fmap.geom.GeometrybooleancoveredBy(org.gvsig.fmap.geom.Geometry geometry) booleancovers(org.gvsig.fmap.geom.Geometry geometry) booleancrosses(org.gvsig.fmap.geom.Geometry geometry) org.gvsig.fmap.geom.Geometrydifference(org.gvsig.fmap.geom.Geometry other) booleandisjoint(org.gvsig.fmap.geom.Geometry geometry) doubledistance(org.gvsig.fmap.geom.Geometry other) booleanensureOrientation(boolean ccw) booleanbooleanfastIntersects(double x, double y, double w, double h) org.gvsig.fmap.geom.Geometryfix()protected abstract org.gvsig.fmap.geom.Geometryforce2DM()protected abstract org.gvsig.fmap.geom.Geometryforce3D()protected abstract org.gvsig.fmap.geom.Geometryforce3DM()org.gvsig.fmap.geom.GeometryforceSubtype(int subtype) org.gvsig.fmap.geom.primitive.Envelopeorg.gvsig.fmap.geom.type.GeometryTypeorg.gvsig.fmap.geom.primitive.Pointprotected org.gvsig.fmap.geom.GeometryManagerorg.gvsig.crs.projection.lib.ProjectionintgetType()org.gvsig.fmap.geom.Geometry.ValidationStatusorg.gvsig.fmap.geom.Geometryintersection(org.gvsig.fmap.geom.Geometry other) booleanintersects(double x, double y, double w, double h) booleanbooleanintersects(org.gvsig.fmap.geom.Geometry geometry) invokeOperation(int index, org.gvsig.fmap.geom.operation.GeometryOperationContext ctx) invokeOperation(String opName, org.gvsig.fmap.geom.operation.GeometryOperationContext ctx) booleanisCCW()booleanisEmpty()booleanisSimple()booleanisValid()booleanisWithinDistance(org.gvsig.fmap.geom.Geometry other, double distance) org.gvsig.fmap.geom.Geometryvoidmove(double dx, double dy) protected voidnotifyDeprecated(String message) booleanout(org.gvsig.fmap.geom.Geometry geometry) booleanoverlaps(org.gvsig.fmap.geom.Geometry geometry) doublevoidrotate(double radAngle, double basex, double basey) voidscale(org.gvsig.fmap.geom.primitive.Point basePoint, double sx, double sy) voidsetGeometryType(org.gvsig.fmap.geom.type.GeometryType geometryType) voidsetProjection(String projection) voidsetProjection(org.gvsig.crs.projection.lib.Projection projection) voidsetProjectionIffNull(org.gvsig.crs.projection.lib.Projection projection) org.gvsig.fmap.geom.GeometrysnapTo(org.gvsig.fmap.geom.Geometry other, double snapTolerance) toString()booleantouches(org.gvsig.fmap.geom.Geometry geometry) org.gvsig.fmap.geom.Geometryunion(org.gvsig.fmap.geom.Geometry other) booleanwithin(org.gvsig.fmap.geom.Geometry geometry) Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.fmap.geom.Geometry
canBeReprojected, canBeTransformed, cloneGeometry, flip, force2D, getDimension, getGeneralPath, getHandlers, getPathIterator, getPathIterator, getShape, getShape, offset, offset, reProject, toLines, toPoints, toPolygons, transformMethods inherited from interface org.gvsig.fmap.geom.jts.GeometryJTS
getJTS, is3D
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AbstractGeometry
public AbstractGeometry(int type, int subtype) - Parameters:
type-subtype-
-
-
Method Details
-
setGeometryType
public void setGeometryType(org.gvsig.fmap.geom.type.GeometryType geometryType) -
getGeometryType
public org.gvsig.fmap.geom.type.GeometryType getGeometryType()- Specified by:
getGeometryTypein interfaceorg.gvsig.fmap.geom.Geometry
-
getManager
protected org.gvsig.fmap.geom.GeometryManager getManager() -
contains
public boolean contains(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
containsin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
compareTo
- Specified by:
compareToin interfaceComparable
-
contains
public boolean contains(double x, double y) -
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
contains
-
distance
public double distance(org.gvsig.fmap.geom.Geometry other) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
distancein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
isWithinDistance
public boolean isWithinDistance(org.gvsig.fmap.geom.Geometry other, double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
isWithinDistancein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
overlaps
public boolean overlaps(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
overlapsin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
coveredBy
public boolean coveredBy(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
coveredByin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
covers
public boolean covers(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
coversin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
crosses
public boolean crosses(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
crossesin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
intersects
public boolean intersects(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
intersectsin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
touches
public boolean touches(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
touchesin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
disjoint
public boolean disjoint(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
disjointin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
within
public boolean within(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
withinin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
area
public double area() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
areain interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
perimeter
public double perimeter() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
perimeterin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
intersects
- Specified by:
intersectsin interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
intersectsin interfaceShape
-
fastIntersects
public boolean fastIntersects(double x, double y, double w, double h) - Specified by:
fastIntersectsin interfaceorg.gvsig.fmap.geom.Geometry
-
getEnvelope
public org.gvsig.fmap.geom.primitive.Envelope getEnvelope()- Specified by:
getEnvelopein interfaceorg.gvsig.fmap.geom.Geometry
-
isSimple
public boolean isSimple()- Specified by:
isSimplein interfaceorg.gvsig.fmap.geom.Geometry
-
isCCW
public boolean isCCW() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
isCCWin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
invokeOperation
public Object invokeOperation(int index, org.gvsig.fmap.geom.operation.GeometryOperationContext ctx) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
invokeOperationin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
invokeOperation
public Object invokeOperation(String opName, org.gvsig.fmap.geom.operation.GeometryOperationContext ctx) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
invokeOperationin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
getType
public int getType()- Specified by:
getTypein interfaceorg.gvsig.fmap.geom.Geometry
-
convertTo
public Object convertTo(String format, Object... args) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
convertToin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToWKB
public byte[] convertToWKB() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToHexWKB
public String convertToHexWKB() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToHexWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToGeoJson
public String convertToGeoJson() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToGeoJson
public String convertToGeoJson(Map<String, Object> properties, boolean encodecrs) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToGeoJsonin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToHexEWKB
public String convertToHexEWKB() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToHexEWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToWKBQuietly
public byte[] convertToWKBQuietly()- Specified by:
convertToWKBQuietlyin interfaceorg.gvsig.fmap.geom.Geometry
-
convertToHexWKBQuietly
- Specified by:
convertToHexWKBQuietlyin interfaceorg.gvsig.fmap.geom.Geometry
-
convertToHexEWKBQuietly
- Specified by:
convertToHexEWKBQuietlyin interfaceorg.gvsig.fmap.geom.Geometry
-
convertToWKB
public byte[] convertToWKB(int srs) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
convertToWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToWKBForcingType
public byte[] convertToWKBForcingType(int srs, int type) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
convertToWKBForcingTypein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToEWKB
public byte[] convertToEWKB() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToEWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToEWKB
public byte[] convertToEWKB(int srs) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
convertToEWKBin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToEWKBForcingType
public byte[] convertToEWKBForcingType(int srs, int type) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
convertToEWKBForcingTypein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToWKT
public String convertToWKT() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convertToWKTin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convertToWKTQuietly
- Specified by:
convertToWKTQuietlyin interfaceorg.gvsig.fmap.geom.Geometry
-
buffer
public org.gvsig.fmap.geom.Geometry buffer(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
bufferin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
buffer
public org.gvsig.fmap.geom.Geometry buffer(double distance, int joinStyle, boolean capButt) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
bufferin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
snapTo
public org.gvsig.fmap.geom.Geometry snapTo(org.gvsig.fmap.geom.Geometry other, double snapTolerance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
snapToin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
getInteriorPoint
public org.gvsig.fmap.geom.primitive.Point getInteriorPoint() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
getInteriorPointin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceorg.gvsig.fmap.geom.Geometry
-
getValidationStatus
public org.gvsig.fmap.geom.Geometry.ValidationStatus getValidationStatus()- Specified by:
getValidationStatusin interfaceorg.gvsig.fmap.geom.Geometry
-
makeValid
public org.gvsig.fmap.geom.Geometry makeValid()- Specified by:
makeValidin interfaceorg.gvsig.fmap.geom.Geometry
-
getBounds2D
- Specified by:
getBounds2Din interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
getBounds2Din interfaceShape
-
getBounds
-
getInternalShape
- Specified by:
getInternalShapein interfaceorg.gvsig.fmap.geom.Geometry
-
rotate
public void rotate(double radAngle, double basex, double basey) - Specified by:
rotatein interfaceorg.gvsig.fmap.geom.Geometry
-
move
public void move(double dx, double dy) - Specified by:
movein interfaceorg.gvsig.fmap.geom.Geometry
-
scale
public void scale(org.gvsig.fmap.geom.primitive.Point basePoint, double sx, double sy) - Specified by:
scalein interfaceorg.gvsig.fmap.geom.Geometry
-
closestPoints
public org.gvsig.fmap.geom.Geometry[] closestPoints(org.gvsig.fmap.geom.Geometry other) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
closestPointsin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
convexHull
public org.gvsig.fmap.geom.Geometry convexHull() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
convexHullin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
difference
public org.gvsig.fmap.geom.Geometry difference(org.gvsig.fmap.geom.Geometry other) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
differencein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
intersection
public org.gvsig.fmap.geom.Geometry intersection(org.gvsig.fmap.geom.Geometry other) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
intersectionin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
union
public org.gvsig.fmap.geom.Geometry union(org.gvsig.fmap.geom.Geometry other) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
unionin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
centroid
public org.gvsig.fmap.geom.primitive.Point centroid() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
centroidin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
notifyDeprecated
-
ensureOrientation
public boolean ensureOrientation(boolean ccw) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
ensureOrientationin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
out
public boolean out(org.gvsig.fmap.geom.Geometry geometry) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
outin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
equals
-
toString
-
getProjection
public org.gvsig.crs.projection.lib.Projection getProjection()- Specified by:
getProjectionin interfaceorg.gvsig.fmap.geom.Geometry
-
setProjectionIffNull
public void setProjectionIffNull(org.gvsig.crs.projection.lib.Projection projection) - Specified by:
setProjectionIffNullin interfaceorg.gvsig.fmap.geom.Geometry
-
setProjection
public void setProjection(org.gvsig.crs.projection.lib.Projection projection) - Specified by:
setProjectionin interfaceorg.gvsig.fmap.geom.Geometry
-
setProjection
- Specified by:
setProjectionin interfaceorg.gvsig.fmap.geom.Geometry
-
clone
- Specified by:
clonein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
boundary
public org.gvsig.fmap.geom.Geometry boundary()- Specified by:
boundaryin interfaceorg.gvsig.fmap.geom.Geometry
-
fix
public org.gvsig.fmap.geom.Geometry fix()- Specified by:
fixin interfaceorg.gvsig.fmap.geom.Geometry
-
forceSubtype
public org.gvsig.fmap.geom.Geometry forceSubtype(int subtype) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
forceSubtypein interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force2DM
protected abstract org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3D
protected abstract org.gvsig.fmap.geom.Geometry force3D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3DM
protected abstract org.gvsig.fmap.geom.Geometry force3DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.gvsig.fmap.geom.Geometry
-