|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.geom.SeGeometry
public abstract class SeGeometry
This is the non-instantiable root class of the hierarchy, its instantiable subclasses are 0, 1 to two-dimensional geometric objects that exist in two-dimensional coordinate space.
Field Summary | |
---|---|
static int |
LINESTRING_TYPE
|
static int |
LINESTRINGM_TYPE
|
static int |
LINESTRINGZ_TYPE
|
static int |
LINESTRINGZM_TYPE
|
static int |
MULTILINESTRING_TYPE
|
static int |
MULTILINESTRINGM_TYPE
|
static int |
MULTILINESTRINGZ_TYPE
|
static int |
MULTILINESTRINGZM_TYPE
|
static int |
MULTIPOINT_TYPE
|
static int |
MULTIPOINTM_TYPE
|
static int |
MULTIPOINTZ_TYPE
|
static int |
MULTIPOINTZM_TYPE
|
static int |
MULTIPOLYGON_TYPE
|
static int |
MULTIPOLYGONM_TYPE
|
static int |
MULTIPOLYGONZ_TYPE
|
static int |
MULTIPOLYGONZM_TYPE
|
static int |
POINT_TYPE
|
static int |
POINTM_TYPE
|
static int |
POINTZ_TYPE
|
static int |
POINTZM_TYPE
|
static int |
POLYGON_TYPE
|
static int |
POLYGONM_TYPE
|
static int |
POLYGONZ_TYPE
|
static int |
POLYGONZM_TYPE
|
static int |
UNSPECIFIED_TYPE
|
Constructor Summary | |
---|---|
SeGeometry()
|
Method Summary | |
---|---|
java.io.ByteArrayOutputStream |
asBinary()
Asbinary takes a geometry object and returns its well-known binary representation. |
java.io.ByteArrayOutputStream |
asBinaryShape()
Asbinaryshape takes a geometry object and returns a BLOB. |
java.lang.String |
asText()
Astext takes a geometry object and returns its well-known text representation. |
abstract Geometry |
boundary()
Boundary takes a geometry object and returns its combined boundary as a geometry object. |
abstract Geometry |
buffer(double distance)
Buffer takes a geometry object and returns the geometry object that surrounds the source object. |
boolean |
contains(Geometry g)
Contains takes two geometry objects and returns t (TRUE) if first object completely contains the second. |
abstract Geometry |
convexhull()
Returns the convex hull of a geometry object. |
boolean |
crosses(Geometry g)
Crosses takes two geometry objects and returns t (TRUE) if their intersection results in a geometry object whose dimension is one less than the maximum dimension of the source objects. |
Geometry |
difference(Geometry g)
Difference takes two geometry objects and returns a geometry object that is the difference of the source objects. |
abstract int |
dimension()
Returns the dimension of a geometry object. |
boolean |
disjoint(Geometry g)
Disjoint takes two geometries and returns t (TRUE) if the intersection of two geometries produces an empty set; otherwise it returns f (FALSE). |
double |
distance(Geometry g)
Returns the closest distance separating two geometries. |
abstract Geometry |
envelope()
Returns the bounding box of a geometry object as a polygon. |
boolean |
envelopesIntersect(Geometry g)
Envelopesintersect returns t (TRUE) if the envelopes of two geometries intersect, otherwise it returns f (FALSE). |
boolean |
equal(Geometry g)
Compares two geometries and returns t (TRUE) if the geometries are identical otherwise it returns f (FALSE). |
abstract Geometry |
exterior()
The interior is the space occupied by the geometry. |
abstract java.lang.String |
geometryType()
Geometrytype takes a geometry object and returns its geometry type as a string. |
double |
getMaxX()
|
double |
getMaxY()
|
double |
getMinX()
|
double |
getMinY()
|
abstract Geometry |
interior()
The exterior of a geometry if all space not occupied by the geometry. |
boolean |
intersect(Geometry g)
Returns t (TRUE) if the intersection of two geometries doesn't result in an empty set; otherwise, returns f (FALSE). |
Geometry[] |
intersection(Geometry g)
Intersection takes two geometry objects and returns the intersection set as a geometry object. |
abstract boolean |
is3D()
Returns t (TRUE) if the geometry object has three-dimensional coordinates; otherwise, returns f (FALSE). |
abstract boolean |
isEmpty()
Returns t (TRUE) if the geometry is empty; otherwise returns f (FALSE). |
abstract boolean |
isMeasured()
Returns t (TRUE) if the geometry object has measures; otherwise, returns f (FALSE). |
abstract boolean |
isSimple()
Returns t (TRUE) if the geometry object is simple otherwise, it returns f (FALSE). |
boolean |
isValid()
Returns t (TRUE) if the geometry object is valid (obeys all the Simple Features rule for its type). |
Geometry |
locateAlong(double measure)
Locatealong takes a geometry object and a measure to return as a multipoint the set of points found at the measure. |
Geometry |
locateBetween(double measure1,
double measure2)
Locatebetween takes a geometry object and two measure locations and returns a linestring that represents the set of disconnected paths between the two measure locations. |
abstract int |
numPoints()
Returns the number of points in a geometry. |
boolean |
overlap(Geometry g)
Overlap takes two geometry objects and returns t (TRUE) if the intersection of the objects results in a geometry object of the same dimension but not equal to either source object, otherwise it returns f (FALSE). |
void |
setCoordRef(SeCoordRef cr)
|
int |
srid()
Srid takes a geometry object and returns its spatial reference system identity. |
Geometry |
symmetricDiff(Geometry g)
symmetricdiff takes two geometry objects and returns a geometry object that is composed of the parts of the source objects that aren't common to both. |
com.esri.sde.sdk.sg.SgShape |
toSdeShape()
|
static SeGeometry |
toSeGeometry(com.esri.sde.sdk.sg.SgShape shape)
|
java.lang.String |
toString()
|
boolean |
touch(Geometry g)
Touch returns t (TRUE) if none of the points common to both geometries intersect the interiors of both geometries; otherwise it returns f (FALSE). |
Geometry |
union(Geometry g)
Union returns a geometry object that is the union of two source objects. |
boolean |
within(Geometry g)
Within takes two geometry objects and returns true if the first object is completely within the second, otherwise it returns false. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNSPECIFIED_TYPE
public static final int POINT_TYPE
public static final int POINTM_TYPE
public static final int POINTZ_TYPE
public static final int POINTZM_TYPE
public static final int MULTIPOINT_TYPE
public static final int MULTIPOINTM_TYPE
public static final int MULTIPOINTZ_TYPE
public static final int MULTIPOINTZM_TYPE
public static final int LINESTRING_TYPE
public static final int LINESTRINGM_TYPE
public static final int LINESTRINGZ_TYPE
public static final int LINESTRINGZM_TYPE
public static final int POLYGON_TYPE
public static final int POLYGONM_TYPE
public static final int POLYGONZ_TYPE
public static final int POLYGONZM_TYPE
public static final int MULTILINESTRING_TYPE
public static final int MULTILINESTRINGM_TYPE
public static final int MULTILINESTRINGZ_TYPE
public static final int MULTILINESTRINGZM_TYPE
public static final int MULTIPOLYGON_TYPE
public static final int MULTIPOLYGONM_TYPE
public static final int MULTIPOLYGONZ_TYPE
public static final int MULTIPOLYGONZM_TYPE
Constructor Detail |
---|
public SeGeometry()
Method Detail |
---|
public abstract Geometry interior() throws com.esri.sde.sdk.geom.SeGeometryException
Geometry
interior
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract Geometry exterior() throws com.esri.sde.sdk.geom.SeGeometryException
Geometry
exterior
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract Geometry boundary() throws com.esri.sde.sdk.geom.SeGeometryException
Geometry
boundary
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract Geometry buffer(double distance) throws com.esri.sde.sdk.geom.SeGeometryException
buffer
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract boolean isSimple() throws com.esri.sde.sdk.geom.SeGeometryException
isSimple
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract boolean isEmpty() throws com.esri.sde.sdk.geom.SeGeometryException
isEmpty
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean isValid() throws com.esri.sde.sdk.geom.SeGeometryException
isValid
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract int numPoints() throws com.esri.sde.sdk.geom.SeGeometryException
numPoints
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract Geometry envelope() throws com.esri.sde.sdk.geom.SeGeometryException
envelope
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract int dimension() throws com.esri.sde.sdk.geom.SeGeometryException
dimension
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract boolean is3D() throws com.esri.sde.sdk.geom.SeGeometryException
is3D
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract boolean isMeasured() throws com.esri.sde.sdk.geom.SeGeometryException
isMeasured
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public int srid() throws com.esri.sde.sdk.geom.SeGeometryException
srid
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public abstract java.lang.String geometryType() throws com.esri.sde.sdk.geom.SeGeometryException
geometryType
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public java.io.ByteArrayOutputStream asBinary() throws com.esri.sde.sdk.geom.SeGeometryException
asBinary
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public java.lang.String asText() throws com.esri.sde.sdk.geom.SeGeometryException
asText
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public java.io.ByteArrayOutputStream asBinaryShape() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public abstract Geometry convexhull() throws com.esri.sde.sdk.geom.SeGeometryException
convexhull
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry locateAlong(double measure) throws com.esri.sde.sdk.geom.SeGeometryException
locateAlong
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry locateBetween(double measure1, double measure2) throws com.esri.sde.sdk.geom.SeGeometryException
locateBetween
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean envelopesIntersect(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
envelopesIntersect
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean equal(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
equal
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean disjoint(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
disjoint
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean intersect(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
intersect
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean touch(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
touch
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean overlap(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
overlap
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean crosses(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
crosses
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean within(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
Geometry
within
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean contains(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
contains
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public double distance(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
distance
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry[] intersection(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
intersection
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry difference(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
difference
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry union(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
union
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry symmetricDiff(Geometry g) throws com.esri.sde.sdk.geom.SeGeometryException
symmetricDiff
in interface Geometry
com.esri.sde.sdk.geom.SeGeometryException
public double getMinX() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public double getMinY() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public double getMaxX() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public double getMaxY() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public void setCoordRef(SeCoordRef cr)
public java.lang.String toString()
toString
in class java.lang.Object
public static SeGeometry toSeGeometry(com.esri.sde.sdk.sg.SgShape shape) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public com.esri.sde.sdk.sg.SgShape toSdeShape() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |