Provides access to members that return information about the geometry definition.
| Description | ||
|---|---|---|
![]() |
AvgNumPoints | Estimated average number of points per feature. |
![]() |
GeometryType | The enumerated geometry type. |
![]() |
GridCount | The number of spatial index grids. |
![]() |
GridSize | The size of a spatial index grid. |
![]() |
HasM | Indicates if the feature class has measure (M) values. |
![]() |
HasZ | Indicates if the featureClass has Z values. |
![]() |
SpatialReference | The spatial reference for the dataset. |
| CoClasses and Classes | Description |
|---|---|
| GeometryDef | ESRI Geometry Definition Object. |
The IGeometryDef interface provides read-only access to the GeometryDef properties.
The AvgNumPoints, GridCount and GridSize properties are all attributes of the geodatabase spatial index. Shapefiles will return 0 for GridCount.
Dim lGeomIndex As Long
Dim sShpName As String
Dim pFields As IFields
Dim pField As IField
Dim pGeometryDef As IGeometryDef
sShpName = pFeatureClass.ShapeFieldName
Set pFields = pFeatureClass.Fields
lGeomIndex = pFields.FindField(sShpName)
Set pField = pFields.Field(lGeomIndex)
Set pGeometryDef = pField.GeometryDef