com.esri.arcgis.geometry
Interface IGeometryBag

All Superinterfaces:
IGeometry, java.io.Serializable
All Known Implementing Classes:
GeometryBag, IGeometryBagProxy

public interface IGeometryBag
extends IGeometry, java.io.Serializable

Provides access to members that identify a geometry bag.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Description

A GeometryBag is a heterogeneous collection of references to objects that support the IGeometry interface.  Operations on GeometryBags that depend upon a specific interface require that all geometries within the Bag support that interface.  Otherwise, an error will be returned.  (ex. To Buffer the elements of a GeometryBag using the ITopologicalOperator, only geometries that support ITopologicalOperator can be collected in the Bag.) 

 

When adding elements to a GeometryBag, keep in mind that the elements acquire the spatial reference of the bag. If the spatial reference of the bag is nil, for example, and the element references a well-defined spatial reference, then the element will lose that reference when it is added to the bag.


Method Summary
 boolean isLosslessExport()
          Indicates if this geometry bag exported itself to a shapefile buffer with no loss of information.
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Method Detail

isLosslessExport

public boolean isLosslessExport()
                         throws java.io.IOException,
                                AutomationException
Indicates if this geometry bag exported itself to a shapefile buffer with no loss of information. Currently always returns false.

Supported Platforms

Windows, Solaris, Linux

Remarks

currently not implemented; always returns FALSE.

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