Package com.kheops.jmap.spatial
Class OrientedRectangle.Double
java.lang.Object
com.kheops.jmap.spatial.DefaultGeometry
com.kheops.jmap.spatial.Polygon
com.kheops.jmap.spatial.OrientedRectangle
com.kheops.jmap.spatial.OrientedRectangle.Double
- All Implemented Interfaces:
Geometry,PolygonTypeGeometry,Surface,Serializable,Cloneable
- Enclosing class:
OrientedRectangle
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.kheops.jmap.spatial.OrientedRectangle
OrientedRectangle.Double, OrientedRectangle.Float -
Field Summary
FieldsFields inherited from interface com.kheops.jmap.spatial.Geometry
GEOMETRY_ANNOTATION, GEOMETRY_COMPLEX, GEOMETRY_ELLIPSE, GEOMETRY_LINE, GEOMETRY_LINEAR_RING, GEOMETRY_LINESTRING, GEOMETRY_MULTI_ANNOTATION, GEOMETRY_MULTI_LINESTRING, GEOMETRY_MULTI_POINT, GEOMETRY_MULTI_POLYGON, GEOMETRY_POINT, GEOMETRY_POLYGON, GEOMETRY_RECTANGLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the current polygon object.doubledoublegetWidth()voidvoidsetHeight(double height) voidsetWidth(double width) intsizeOf()Returns an approximation in bytes of the memory used by this geometry.toString()Returns information about the current geometry.Methods inherited from class com.kheops.jmap.spatial.OrientedRectangle
add, add, centroid, contains, contains, createBounds, getCoord0, getCoord1, getCoord2, getCoord3, getCoord4, inflate, intersects, intersects, intersects, intersects, serialize, setCoord0, setCoord1, setCoord2, setCoord3, setCoord4, transformMethods inherited from class com.kheops.jmap.spatial.Polygon
area, asText, boundary, equals, exteriorRing, getBounds, getCenteredPoint, getGeometryId, getGeometryType, getRings, hasHoles, interiorRingN, length, numInteriorRing, pointOnSurface, polygonIterator, setRings, spatiallyEquals, translate, validateMethods inherited from class com.kheops.jmap.spatial.DefaultGeometry
spatiallyEqualsMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.kheops.jmap.spatial.Geometry
spatiallyEquals
-
Field Details
-
width
protected double width -
height
protected double height
-
-
Constructor Details
-
Double
public Double() -
Double
-
Double
public Double(double x, double y, double width, double height) -
Double
-
Double
-
Double
-
-
Method Details
-
getHeight
public double getHeight()- Specified by:
getHeightin classOrientedRectangle
-
getWidth
public double getWidth()- Specified by:
getWidthin classOrientedRectangle
-
setHeight
public void setHeight(double height) - Specified by:
setHeightin classOrientedRectangle
-
setWidth
public void setWidth(double width) - Specified by:
setWidthin classOrientedRectangle
-
setBounds
- Specified by:
setBoundsin classOrientedRectangle
-
clone
Description copied from class:PolygonClones the current polygon object. -
toString
Description copied from interface:GeometryReturns information about the current geometry. -
sizeOf
public int sizeOf()Returns an approximation in bytes of the memory used by this geometry.
-