com.esri.arcgis.geodatabase
Interface IGeometryDefEdit

All Superinterfaces:
IGeometryDef, java.io.Serializable
All Known Implementing Classes:
GeometryDef, IGeometryDefEditProxy

public interface IGeometryDefEdit
extends IGeometryDef, java.io.Serializable

Provides access to members that modify the geometry definition.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

The IGeometryDefEdit interface is used when creating a GeometryDef object. You would normally use this interface when defining a new feature class. You cannot use IGeometryDefEdit to modify an existing GeometryDef which is attached to a feature class; the same restrictions apply when using the standard ArcGIS user interface. For example, you cannot change the spatial reference of an existing feature class.


Method Summary
 void setAvgNumPoints(int rhs1)
          The estimated average number of points per feature.
 void setGeometryType(int rhs1)
          The geometry type.
 void setGridCount(int rhs1)
          The number of spatial index grids.
 void setGridSize(int index, double rhs2)
          The size of a spatial index grid.
 void setHasM(boolean rhs1)
          Indicates if the feature class will support M values.
 void setHasZ(boolean rhs1)
          Indicates if the feature class will support Z values.
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          The spatial reference of the dataset.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IGeometryDef
getAvgNumPoints, getGeometryType, getGridCount, getGridSize, getSpatialReference, isHasM, isHasZ
 

Method Detail

setAvgNumPoints

public void setAvgNumPoints(int rhs1)
                     throws java.io.IOException,
                            AutomationException
The estimated average number of points per feature.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryType

public void setGeometryType(int rhs1)
                     throws java.io.IOException,
                            AutomationException
The geometry type.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
esriGeometryType

setGridSize

public void setGridSize(int index,
                        double rhs2)
                 throws java.io.IOException,
                        AutomationException
The size of a spatial index grid.

Supported Platforms

Windows, Solaris, Linux

Remarks

GridSize specifies the size of the spatial index.  Personal Geodatabases support one spatial index while File and ArcSDE Geodatabase feature classes support up to 3 spatial indexes. Note that each additional index must be larger than the previous index. The GridSize index is zero based with a maximum index of 2.

Parameters:
index - The index (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGridCount

public void setGridCount(int rhs1)
                  throws java.io.IOException,
                         AutomationException
The number of spatial index grids.

Supported Platforms

Windows, Solaris, Linux

Remarks

GridCount specifies the number of spatial index grids. Personal Geodatabase feature classes only support one spatial index. Any additional indexes will be ignored. File and ArcSDE Geodatabase feature classes support up to 3 spatial indexes. Each additional index must be larger than the previous index.

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws java.io.IOException,
                                     AutomationException
The spatial reference of the dataset.

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

setHasZ

public void setHasZ(boolean rhs1)
             throws java.io.IOException,
                    AutomationException
Indicates if the feature class will support Z values.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHasM

public void setHasM(boolean rhs1)
             throws java.io.IOException,
                    AutomationException
Indicates if the feature class will support M values.

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.