|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeometryDefEdit
Provides access to members that modify the geometry definition.
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.
The following are valid Geometry types for a new feature class (from esriGeometryType):
esriGeometryPoint
esriGeometryMultipoint
esriGeometryPolyline
esriGeometryPolygon
esriGeometryMultiPatch
The SpatialReference property should always be set when creating a new GeometryDef. If a GeometryDef without a spatial reference is used to create a stand-alone feature class, an error will occur.
If a feature class is created in a feature dataset, and the SpatialReference property does not match the spatial reference of the feature dataset, the property will be modified to match that of the feature dataset.
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 |
---|
void setAvgNumPoints(int rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometryType(int rhs1) throws IOException, AutomationException
The following are valid Geometry types for a new feature class (from esriGeometryType):
esriGeometryPoint
esriGeometryMultipoint
esriGeometryPolyline
esriGeometryPolygon
esriGeometryMultiPatch
rhs1
- A com.esri.arcgis.geometry.esriGeometryType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriGeometryType
void setGridSize(int index, double rhs2) throws IOException, AutomationException
index
- The index (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGridCount(int rhs1) throws IOException, AutomationException
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.
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialReferenceByRef(ISpatialReference rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHasZ(boolean rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHasM(boolean rhs1) throws IOException, AutomationException
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |