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


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

IGeometryFactory Interface

Provides access to members that create geometries from different inputs. Note: the IGeometryFactory 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.

Classes that implement IGeometryFactory

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