This document is archived and information here might be outdated.  Recommended version.


IGeometryFactory2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryFactory2 Interface
ArcGIS Developer Help

IGeometryFactory2 Interface

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

Product Availability

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

Members

Name 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.

Classes that implement IGeometryFactory2

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