Spatial DataBlade
JAVA API v8.21

com.ibm.spatial.geom
Class IfxMultiPoint

java.lang.Object
  extended by com.ibm.spatial.geom.IfxGeometry
      extended by com.ibm.spatial.geom.IfxMultiCoord
          extended by com.ibm.spatial.geom.IfxGeometryCollection
              extended by com.ibm.spatial.geom.IfxMultiPoint
All Implemented Interfaces:
Geometry, GeometryCollection, MultiPoint, java.lang.Cloneable

public class IfxMultiPoint
extends IfxGeometryCollection
implements MultiPoint

IfxMultiPoint implements the MultiPoint interface.

See Also:
MultiPoint, IfxGeometryCollection

Field Summary
 
Fields inherited from class com.ibm.spatial.geom.IfxGeometry
COORD_M, COORD_XY, COORD_Z
 
Method Summary
 boolean equals(java.lang.Object anObject)
          Compares this object to the specified object.
 java.lang.String geometryType()
          Gets the most appropriate OGC geometry interface type for this object.
 Geometry locateBetween(double fromMeasure, double toMeasure)
          Returns a MultiPoint containing all the points of this geometry having a measure between the specified measure values (fromMeasure and toMeasure).
 int numGeometries()
          Returns the number of IfxPoints in this object.
 int numParts()
          Returns the number of parts of this object.
 int numSubParts(int part)
          Returns the number of subparts in the specified part.
 
Methods inherited from class com.ibm.spatial.geom.IfxGeometryCollection
area, dimension, geometryN, numPoints, numPoints, toArray, toCoordArray, toPointArray
 
Methods inherited from class com.ibm.spatial.geom.IfxMultiCoord
getLabelPoint, is3D, isEmpty, isMeasured, length, perimeter
 
Methods inherited from class com.ibm.spatial.geom.IfxGeometry
asBinary, asText, boundary, buffer, clone, contains, convexHull, crosses, difference, disjoint, distance, envelope, envelopesIntersect, extent, exterior, getCoordinateDimension, getDimensionality, getLabelPoint, getOGCType, interior, intersection, intersects, isSimple, isValid, locateAlong, overlaps, srid, symmetricDiff, toString, touches, union, within
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.spatial.geom.GeometryCollection
geometryN
 
Methods inherited from interface com.ibm.spatial.geom.Geometry
asBinary, asText, boundary, buffer, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, extent, exterior, interior, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, numPoints, overlaps, srid, symmetricDiff, touches, union, within
 

Method Detail

numGeometries

public int numGeometries()
Returns the number of IfxPoints in this object.

Specified by:
numGeometries in interface GeometryCollection
Overrides:
numGeometries in class IfxGeometryCollection
Returns:
the number of IfxPoints in this object

geometryType

public java.lang.String geometryType()
Gets the most appropriate OGC geometry interface type for this object.

Overrides:
geometryType in class IfxGeometryCollection
Returns:
a string that identifies the OGC interface related to this geometry

locateBetween

public Geometry locateBetween(double fromMeasure,
                              double toMeasure)
Returns a MultiPoint containing all the points of this geometry having a measure between the specified measure values (fromMeasure and toMeasure).

Specified by:
locateBetween in interface Geometry
Overrides:
locateBetween in class IfxGeometry
Returns:
the set of points having measures between fromMeasure and toMeasure
See Also:
Geometry.locateBetween(double, double)

equals

public boolean equals(java.lang.Object anObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is an object of the same type, which represents the same sequence of coordinates as this object.

Specified by:
equals in interface Geometry
Overrides:
equals in class IfxGeometryCollection
Parameters:
anObject - the object to compare this object against.
Returns:
true if the objects are equal; false otherwise.

numParts

public int numParts()
Returns the number of parts of this object.

Overrides:
numParts in class IfxGeometryCollection
Returns:
the number of parts
See Also:
IfxGeometry.numParts()

numSubParts

public int numSubParts(int part)
Returns the number of subparts in the specified part.

Overrides:
numSubParts in class IfxGeometryCollection
Parameters:
part - part index
Returns:
the number of subparts in the specified part
Throws:
java.lang.IndexOutOfBoundsException - - for non-empty geometries, if the given part index is out of range (part < 0 || part >= numParts()).
See Also:
numParts()

Spatial DataBlade
JAVA API v8.21


Licensed Materials - Property of IBM
Copyright IBM Corp. 2002, 2012 All Rights Reserved.