com.esri.arcgis.geometry
Interface IGeometryFactory

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IGeometryFactory2, IGeometryFactory3
All Known Implementing Classes:
GeometryEnvironment, IGeometryFactory2Proxy, IGeometryFactory3Proxy, IGeometryFactoryProxy

public interface IGeometryFactory
extends java.io.Serializable

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

Description: 'Provides access to members that create geometries from different inputs.' 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 IIDf71f8c16_ef07_11d0_8327_0000f8775be9
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void createEmptyGeometryByESRIType(int shapeType, IGeometry[] outGeometry)
          Create an empty geometry of the specified Esri shape file type.
 void createEmptyGeometryByType(int geometryType, IGeometry[] outGeometry)
          Creates an empty geometry of the specified ArcObjects geometry type.
 void createGeometry(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry)
          Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.
 IGeometry createGeometryFromEnumerator(IEnumGeometry geometries)
          Creates a geometry bag containing references to geometries returned by the input geometry enumerator.
 void createGeometryFromWkb(int[] byteCountInOut, byte[] geometryInfo, IGeometry[] outGeometry)
          Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
 void createGeometryFromWkbVariant(java.lang.Object wkb, IGeometry[] outGeometry, int[] numBytesRead)
          Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
 

Field Detail

IIDf71f8c16_ef07_11d0_8327_0000f8775be9

static final int IIDf71f8c16_ef07_11d0_8327_0000f8775be9
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

createGeometry

void createGeometry(int[] byteCountInOut,
                    byte[] geometryInfo,
                    IGeometry[] outGeometry)
                    throws java.io.IOException,
                           AutomationException
Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.

Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
geometryInfo - An unsigned byte (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromWkb

void createGeometryFromWkb(int[] byteCountInOut,
                           byte[] geometryInfo,
                           IGeometry[] outGeometry)
                           throws java.io.IOException,
                                  AutomationException
Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.

Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
geometryInfo - An unsigned byte (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEmptyGeometryByESRIType

void createEmptyGeometryByESRIType(int shapeType,
                                   IGeometry[] outGeometry)
                                   throws java.io.IOException,
                                          AutomationException
Create an empty geometry of the specified Esri shape file type.

Parameters:
shapeType - A com.esri.arcgis.geometry.esriShapeType constant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createEmptyGeometryByType

void createEmptyGeometryByType(int geometryType,
                               IGeometry[] outGeometry)
                               throws java.io.IOException,
                                      AutomationException
Creates an empty geometry of the specified ArcObjects geometry type.

Parameters:
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromWkbVariant

void createGeometryFromWkbVariant(java.lang.Object wkb,
                                  IGeometry[] outGeometry,
                                  int[] numBytesRead)
                                  throws java.io.IOException,
                                         AutomationException
Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.

Parameters:
wkb - A Variant (in)
outGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
numBytesRead - The numBytesRead (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometryFromEnumerator

IGeometry createGeometryFromEnumerator(IEnumGeometry geometries)
                                       throws java.io.IOException,
                                              AutomationException
Creates a geometry bag containing references to geometries returned by the input geometry enumerator.

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