ArcObjects Library Reference (Geometry)  

IGeometryFactory2 Interface

Provides access to members that create geometries from different inputs. Note: the IGeometryFactory2 interface has been superseded byIGeometryFactory3. Please consider using the more recent version.

Product Availability

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

Members

Description
Method CreateEmptyGeometryByESRIType Create an empty geometry of the specified ESRI shape file type.
Method CreateEmptyGeometryByType Creates an empty geometry of the specified ArcObjects geometry type.
Method CreateGeometry Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.
Method CreateGeometryFromEnumerator Creates a geometry bag containing references to geometries returned by the input geometry enumerator.
Method CreateGeometryFromWkb Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
Method CreateGeometryFromWkbVariant Create a point, polyline, polygon, or multipoint from the specified OGIS WKB format buffer.
Method CreateWkbVariantFromGeometry Creates an OGIS WKB format from a geometry object.

Inherited Interfaces

Interfaces Description
IGeometryFactory Provides access to members that create geometries from different inputs.

CoClasses that implement IGeometryFactory2

CoClasses and Classes Description
GeometryEnvironment Provides a way of creating geometries from different inputs and setting/getting global variables for controlling behavior of geometry methods.