com.esri.arcgis.geometry
Interface IGeometryFactory2

All Superinterfaces:
IGeometryFactory, Serializable
All Known Subinterfaces:
IGeometryFactory3
All Known Implementing Classes:
GeometryEnvironment

public interface IGeometryFactory2
extends IGeometryFactory, Serializable

Provides access to members that create geometries from different inputs.

Superseded By

IGeometryFactory3

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 Object createWkbVariantFromGeometry(IGeometry inGeometry)
          Creates an OGIS WKB format from a geometry object.
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometryFactory
createEmptyGeometryByESRIType, createEmptyGeometryByType, createGeometry, createGeometryFromEnumerator, createGeometryFromWkb, createGeometryFromWkbVariant
 

Method Detail

createWkbVariantFromGeometry

Object createWkbVariantFromGeometry(IGeometry inGeometry)
                                    throws IOException,
                                           AutomationException
Creates an OGIS WKB format from a geometry object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
inGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.