|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--spatialdb.GeometryConversion
A class offering conversion methods for sdoapi.geom geometries.
| Constructor Summary | |
GeometryConversion()
|
|
| Method Summary | |
static java.awt.geom.Area |
toAwtArea(oracle.sdoapi.geom.Geometry polygon)
Constructs a java.awt.geom.Area from a sdoapi.geom.Polygon |
static java.awt.geom.Area |
toAwtArea(oracle.sdoapi.geom.Geometry polygon,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.geom.Area from a sdoapi.geom.Polygon |
static java.awt.geom.Ellipse2D.Double |
toAwtEllipse2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix,
int pixels)
Constructs a java.awt.geom.Ellipse2D from a sdoapi.geom.Geometry |
static java.awt.geom.Ellipse2D.Double |
toAwtEllipse2D(oracle.sdoapi.geom.Geometry geometry,
int pixels)
Constructs a java.awt.geom.Ellipse2D from a sdoapi.geom.Geometry |
static java.awt.geom.GeneralPath |
toAwtGeneralPath(oracle.sdoapi.geom.Geometry line)
Constructs a java.awt.geom.GeneralPath from a sdoapi.geom.LineStrimg |
static java.awt.geom.GeneralPath |
toAwtGeneralPath(oracle.sdoapi.geom.Geometry line,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.geom.GeneralPath from a sdoapi.geom.LineStrimg |
static java.awt.Point |
toAwtPoint(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.Point from a sdoapi.geom.Geometry |
static java.awt.Point |
toAwtPoint(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.Point from a sdoapi.geom.Geometry |
static java.awt.geom.Point2D.Double |
toAwtPoint2D(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.geom.Point2D from a sdoapi.geom.Geometry |
static java.awt.geom.Point2D.Double |
toAwtPoint2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.geom.Point2D from a sdoapi.geom.Geometry |
static java.awt.Polygon |
toAwtPolygon(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.Polygon from a sdoapi.geom.Geometry |
static java.awt.Polygon |
toAwtPolygon(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.Polygon from a sdoapi.geom.Geometry |
static java.awt.Polygon |
toAwtPolyline(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.Polygon (because of a missing Polyline class) from a sdoapi.geom.Geometry |
static java.awt.Polygon |
toAwtPolyline(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.Polygon (because of a missing Polyline class) from a sdoapi.geom.Geometry |
static java.awt.Rectangle |
toAwtRectangle(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.Rectangle from a sdoapi.geom.Geometry |
static java.awt.Rectangle |
toAwtRectangle(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.Rectangle from a sdoapi.geom.Geometry |
static java.awt.geom.Rectangle2D.Double |
toAwtRectangle2D(oracle.sdoapi.geom.Geometry geometry)
Constructs a java.awt.geom.Rectangle2D from a sdoapi.geom.Geometry |
static java.awt.geom.Rectangle2D.Double |
toAwtRectangle2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
Constructs a java.awt.geom.Rectangle2D from a sdoapi.geom.Geometry |
static java.util.Vector |
toAwtShape(oracle.sdoapi.geom.Geometry geom)
Constructs one or several objects of java.awt.Shape from a sdoapi.geom.Geometry |
static java.util.Vector |
toAwtShape(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
Constructs one or several objects of java.awt.Shape from a sdoapi.geom.Geometry |
static java.lang.Object |
toDoubleAwt(oracle.sdoapi.geom.Geometry geom)
Generates a double-based AWT geometry for the given Geometry. |
static java.lang.Object |
toDoubleAwt(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
Generates a double-based AWT geometry for the given Geometry. |
static java.lang.Object |
toIntegerAwt(oracle.sdoapi.geom.Geometry geom)
Generates an integer-based AWT geometry for the given Geometry. |
static java.lang.Object |
toIntegerAwt(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
Generates an integer-based AWT geometry for the given Geometry. |
static java.lang.String |
toXML(double x,
double y)
Generates a string representing a DOM node out of the given coordinates. |
static java.lang.String |
toXML(double xmin,
double ymin,
double xmax,
double ymax)
Generates a string representing a DOM node out of the given Box. |
static java.lang.String |
toXML(oracle.sdoapi.geom.Geometry geom)
Generates a string representing a DOM node for the given Geometry. |
static java.lang.String |
toXML(oracle.sdoapi.geom.Geometry geom,
java.lang.String indentation)
Generates a string representing a DOM node for the given Geometry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GeometryConversion()
| Method Detail |
public static java.awt.geom.Area toAwtArea(oracle.sdoapi.geom.Geometry polygon)
polygon - the geometry representing a polygon
public static java.awt.geom.Area toAwtArea(oracle.sdoapi.geom.Geometry polygon,
java.awt.geom.AffineTransform matrix)
polygon - the geometry representing a polygonmatrix - the affine transformation (or null)
public static java.awt.geom.Ellipse2D.Double toAwtEllipse2D(oracle.sdoapi.geom.Geometry geometry,
int pixels)
geometry - the geometry representing a pointpixels - the radius of the circle in pixels
public static java.awt.geom.Ellipse2D.Double toAwtEllipse2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix,
int pixels)
geometry - the geometry representing a pointmatrix - the affine transformation (or null)pixels - the radius of the circle in pixels
public static java.awt.geom.GeneralPath toAwtGeneralPath(oracle.sdoapi.geom.Geometry line)
line - the geometry representing a line
public static java.awt.geom.GeneralPath toAwtGeneralPath(oracle.sdoapi.geom.Geometry line,
java.awt.geom.AffineTransform matrix)
line - the geometry representing a linematrix - the affine transformation (or null)
public static java.awt.Point toAwtPoint(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a point
public static java.awt.Point toAwtPoint(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a pointmatrix - the affine transformation (or null)
public static java.awt.geom.Point2D.Double toAwtPoint2D(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a point
public static java.awt.geom.Point2D.Double toAwtPoint2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a pointmatrix - the affine transformation (or null)
public static java.awt.Polygon toAwtPolygon(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a sdoapi.geom.Polygon
public static java.awt.Polygon toAwtPolygon(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a sdoapi.geom.Polygonmatrix - the affine transformation (or null)
public static java.awt.Polygon toAwtPolyline(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a sdoapi.geom.LineString
public static java.awt.Polygon toAwtPolyline(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a sdoapi.geom.LineStringmatrix - the affine transformation (or null)
public static java.awt.Rectangle toAwtRectangle(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a rectangle
public static java.awt.Rectangle toAwtRectangle(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a rectanglematrix - the affine transformation (or null)
public static java.awt.geom.Rectangle2D.Double toAwtRectangle2D(oracle.sdoapi.geom.Geometry geometry)
geometry - the geometry representing a rectangle
public static java.awt.geom.Rectangle2D.Double toAwtRectangle2D(oracle.sdoapi.geom.Geometry geometry,
java.awt.geom.AffineTransform matrix)
geometry - the geometry representing a rectanglematrix - the affine transformation (or null)
public static java.util.Vector toAwtShape(oracle.sdoapi.geom.Geometry geom)
geom - the geometry
public static java.util.Vector toAwtShape(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
geom - the geometrymatrix - the affine transformation (or null)
public static java.lang.Object toDoubleAwt(oracle.sdoapi.geom.Geometry geom)
geom - the geometry
public static java.lang.Object toDoubleAwt(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
geom - the geometrymatrix - the affine transformation (or null)
public static java.lang.Object toIntegerAwt(oracle.sdoapi.geom.Geometry geom)
geom - the geometry
public static java.lang.Object toIntegerAwt(oracle.sdoapi.geom.Geometry geom,
java.awt.geom.AffineTransform matrix)
geom - the geometrymatrix - the affine transformation (or null)
public static java.lang.String toXML(double x,
double y)
x - the x-coordinatey - the y-coordinate
public static java.lang.String toXML(double xmin,
double ymin,
double xmax,
double ymax)
xmin - the minimum x-coordinateymin - the minimum y-coordinatexmax - the maximum x-coordinateymax - the maximum y-coordinate
public static java.lang.String toXML(oracle.sdoapi.geom.Geometry geom)
geom - the geometry
public static java.lang.String toXML(oracle.sdoapi.geom.Geometry geom,
java.lang.String indentation)
geom - the geometryindentation - indentation of the output
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||