com.esri.arcgis.geometry
Interface IGeometry

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IBezierCurve, IBezierCurve2, IBezierCurve3, ICircularArc, ICurve, ICurve2, ICurve3, IEllipticArc, IEnvelope, IEnvelope2, IGeometry2, IGeometry3, IGeometry4, IGeometry5, IGeometryBag, ILine, ILine2, ILine3, IMapPoint, IMultiPatch, IMultiPatch2, IMultipoint, IPath, IPoint, IPolycurve, IPolycurve2, IPolycurve3, IPolygon, IPolygon2, IPolygon3, IPolygon4, IPolyline, IPolyline2, IPolyline3, IPolyline4, IPolyline5, IPolyline6, IRay, IRay2, IRing, IRing2, ISegment, ISphere, ITopologicalSegment, ITopologicalSegment2, ITriangleFan, ITriangles, ITriangleStrip
All Known Implementing Classes:
BezierCurve, CircularArc, EllipticArc, Envelope, GeometryBag, IBezierCurve2Proxy, IBezierCurve3Proxy, IBezierCurveProxy, ICircularArcProxy, ICurve2Proxy, ICurve3Proxy, ICurveProxy, IEllipticArcProxy, IEnvelope2Proxy, IEnvelopeProxy, IGeometry2Proxy, IGeometry3Proxy, IGeometry4Proxy, IGeometry5Proxy, IGeometryBagProxy, IGeometryProxy, ILine2Proxy, ILine3Proxy, ILineProxy, IMapPointProxy, IMultiPatch2Proxy, IMultiPatchProxy, IMultipointProxy, IPathProxy, IPointProxy, IPolycurve2Proxy, IPolycurve3Proxy, IPolycurveProxy, IPolygon2Proxy, IPolygon3Proxy, IPolygon4Proxy, IPolygonProxy, IPolyline2Proxy, IPolyline3Proxy, IPolyline4Proxy, IPolyline5Proxy, IPolyline6Proxy, IPolylineProxy, IRay2Proxy, IRayProxy, IRing2Proxy, IRingProxy, ISegmentProxy, ISphereProxy, ITopologicalSegment2Proxy, ITopologicalSegmentProxy, ITriangleFanProxy, ITrianglesProxy, ITriangleStripProxy, Line, MapPoint, MultiPatch, Multipoint, Path, Point, Polygon, Polyline, Ray, Ring, Sphere, TriangleFan, Triangles, TriangleStrip

public interface IGeometry
extends java.io.Serializable

COM Interface 'IGeometry'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that describe properties and behavior of all geometric objects.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID1b07790d_38c5_11d0_92d2_00805f7c28b0
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void geoNormalize()
          Shifts longitudes, if need be, into a continuous range of 360 degrees.
 void geoNormalizeFromLongitude(double longitude)
          Normalizes longitudes into a continuous range containing the longitude.
 int getDimension()
          The topological dimension of this geometry.
 IEnvelope getEnvelope()
          Creates a copy of this geometry's envelope and returns it.
 int getGeometryType()
          The type of this geometry.
 ISpatialReference getSpatialReference()
          The spatial reference associated with this geometry.
 boolean isEmpty()
          Indicates whether this geometry contains any points.
 void project(ISpatialReference newReferenceSystem)
          Projects this geometry into a new spatial reference.
 void queryEnvelope(IEnvelope outEnvelope)
          Copies this geometry's envelope properties into the specified envelope.
 void setEmpty()
          Removes all points from this geometry.
 void setSpatialReferenceByRef(ISpatialReference spatialRef)
          The spatial reference associated with this geometry.
 void snapToSpatialReference()
          Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
 

Field Detail

IID1b07790d_38c5_11d0_92d2_00805f7c28b0

static final int IID1b07790d_38c5_11d0_92d2_00805f7c28b0
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getGeometryType

int getGeometryType()
                    throws java.io.IOException,
                           AutomationException
The type of this geometry.

Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimension

int getDimension()
                 throws java.io.IOException,
                        AutomationException
The topological dimension of this geometry.

Returns:
A com.esri.arcgis.geometry.esriGeometryDimension constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference associated with this geometry.

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference spatialRef)
                              throws java.io.IOException,
                                     AutomationException
The spatial reference associated with this geometry.

Parameters:
spatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEmpty

boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates whether this geometry contains any points.

Returns:
The isEmpty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmpty

void setEmpty()
              throws java.io.IOException,
                     AutomationException
Removes all points from this geometry.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryEnvelope

void queryEnvelope(IEnvelope outEnvelope)
                   throws java.io.IOException,
                          AutomationException
Copies this geometry's envelope properties into the specified envelope.

Parameters:
outEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnvelope

IEnvelope getEnvelope()
                      throws java.io.IOException,
                             AutomationException
Creates a copy of this geometry's envelope and returns it.

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

project

void project(ISpatialReference newReferenceSystem)
             throws java.io.IOException,
                    AutomationException
Projects this geometry into a new spatial reference.

Parameters:
newReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snapToSpatialReference

void snapToSpatialReference()
                            throws java.io.IOException,
                                   AutomationException
Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geoNormalize

void geoNormalize()
                  throws java.io.IOException,
                         AutomationException
Shifts longitudes, if need be, into a continuous range of 360 degrees.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geoNormalizeFromLongitude

void geoNormalizeFromLongitude(double longitude)
                               throws java.io.IOException,
                                      AutomationException
Normalizes longitudes into a continuous range containing the longitude. This method is obsolete.

Parameters:
longitude - The longitude (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.