|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.spatial.geom.GeometryFactory
com.ibm.spatial.geom.IfxSQLGeometryFactory
public class IfxSQLGeometryFactory
IfxSQLGeometryFactory.
Note: this class is used internally and may be changed in future implementations without notice. Applications should not use this class.
| Method Summary | |
|---|---|
Geometry |
createGeometry(java.lang.String type,
Envelope envelope,
double[] xy,
double[] z,
double[] m,
int[] partOffsets,
int[] subPartOffsets,
double length,
double area)
Creates a geometry object from all the arguments. |
| Methods inherited from class com.ibm.spatial.geom.GeometryFactory |
|---|
createEmptyGeometry, createGeometry, createGeometryCollection, createPoint, createPoint, createPoint, createPolygon, getInstance, getInstance, getSpatialReference |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Geometry createGeometry(java.lang.String type,
Envelope envelope,
double[] xy,
double[] z,
double[] m,
int[] partOffsets,
int[] subPartOffsets,
double length,
double area)
throws java.lang.ClassNotFoundException
In order to create an empty geometry, xy must be null or a zero length array. In this case, the geometry has a "z" subtype iff z is not null, and has a "m" subtype iff m is not null.
type - the type of the geometry to be createdenvelope - the envelope of the geometry to be createdxy - array of xy coordinate pairs; if null or of length equal
to zero, an empty geometry will be createdz - array of z coordinate pairs; if null, the geometry
created will not have z coordinatesm - array of m values; if null, the geometry
created will not have measure valuespartOffsets - array holding positions in the xy coordinate array
where geometry parts start. This argument is required for
MultiLineString, Polygon, and MultiPolygon geometries.subPartOffsets - array holding positions in the xy coordinate
array where geometry subparts start. This argument is
required for Polygon and MultiPolygon geometries.length - the length of the geometry to be createdarea - the area of the geometry to be created
java.lang.ClassNotFoundException - in case type is not an instantiable
type from the package com.ibm.spatial.geom.
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||