|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Adds features to a specified feature class using other features and geometries.
Adds features to a specified feature class by processing other features or geometries. Each of the construction methods on this interface operate under the following guidelines.
| Method Summary | |
void |
autoCompleteFromFeatures(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
Adds polygons to the specified feature class by combining existing polygons with the specified line source. |
void |
autoCompleteFromFeaturesFromCursor(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
Adds polygons to the specified feature class by combining existing polygons with the specified line source. |
void |
autoCompleteFromGeometries(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumGeometry pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
Adds polygons to the specified feature class by combining existing polygons with the specified line source. |
void |
constructLines(ICancelOperation pCancel,
IFeatureClass targetFC,
IEnumFeature pSel,
boolean replaceExistingInTarget,
IInvalidArea pInval,
double clusterTolerance)
Adds line to an fc, using the map selection as the feature source. |
void |
constructLinesFromCursor(ICancelOperation pCancel,
IFeatureClass targetFC,
IFeatureCursor pSel,
boolean replaceExistingInTarget,
IInvalidArea pInval,
double clusterTolerance)
Adds line to a feature class, using a feature cursor as the feature source. |
void |
constructPolygonsFromFeatures(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
boolean bReplaceTargetSelection,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IFeatureClass pLabels)
Constructs polygons into the feature class, using the map's polyline selection as the feature source. |
void |
constructPolygonsFromFeaturesFromCursor(ICancelOperation pCancel,
IFeatureClass pTargetFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
boolean bReplaceTargetSelection,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IFeatureClass pLabels)
Constructs polygons into the specified feature class, using the cursor as the feature source. |
void |
constructPolygonsFromGeometries(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
IEnumGeometry pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
Constructs polygons into the specified feature class, using the specified set of polyline geometries to define new boundaries (possibly in combination with existing polygons features). |
boolean |
isFeaturesChanged()
Returns true if the last IFeatureConstruction method created or altered features. |
void |
planarizeLines(ICancelOperation pCancel,
IEnumFeature pEF,
double clusterTolerance)
Replaces the line selection set with a planarized version of it. |
void |
planarizeLinesFromCursor(ICancelOperation pCancel,
IFeatureClass pFC,
IFeatureCursor pEF,
double clusterTolerance)
Replaces the line selection set with a planarized version of it. |
void |
setConstructedFeaturesSubtype(int rhs1)
Sets the subtype for subsequently constructed features. |
void |
setDefaultZ(double rhs1)
Sets the z value to be used when constructing features from inputs that are not z-aware. |
void |
splitPolygonsWithLines(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
Splits polygons in the specified feature class, using the polyline selection as the feature source. |
void |
splitPolygonsWithLinesFromCursor(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
Splits polygons in the specified feature class, using the polyline selection as the feature source. |
| Method Detail |
public void constructLines(ICancelOperation pCancel,
IFeatureClass targetFC,
IEnumFeature pSel,
boolean replaceExistingInTarget,
IInvalidArea pInval,
double clusterTolerance)
throws java.io.IOException,
AutomationException
ConstructLines creates new line features to the target feature class by planarizing a selected set of features. The selection can contain polygons and polylines from multiple features classes - including the target feature class.
If replaceExistingInTarget is true, then selected features that are already in the target feature class will be replaced by their planarized versions, otherwise the planarized versions will be added in addition to the originals, resulting in overlapping features in the target. In both cases, planarized features originating from target features will receive the correct attributes.
The invalid area interface is optional and can be used to redraw the area affected by processing. In some cases it may be necessary to have an invalid area in order for related features (annotation, route symbology, etc) to redraw correctly.
The cluster tolerance must at least be as large as the cluster tolerance of the spatial reference associated with the target feature class.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)targetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pSel - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)replaceExistingInTarget - The replaceExistingInTarget (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void constructLinesFromCursor(ICancelOperation pCancel,
IFeatureClass targetFC,
IFeatureCursor pSel,
boolean replaceExistingInTarget,
IInvalidArea pInval,
double clusterTolerance)
throws java.io.IOException,
AutomationException
This method is similar to IFeatureConstruction::ConstructLines, but uses a FeatureCursor for defining input features; thus only features from a single feature class can be planarized. This version is useful for standalone applications that don’t have access to a map selection object (or anything else that supports IEnumFeature).
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)targetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pSel - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)replaceExistingInTarget - The replaceExistingInTarget (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void constructPolygonsFromFeatures(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
boolean bReplaceTargetSelection,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IFeatureClass pLabels)
throws java.io.IOException,
AutomationException
Constructs polygons into the target feature class, using the map's selection as the feature source. The selection can contain polylines and polygons. If polygons are included in the selection, their boundaries will be used and will simply act as additional polylines being considered for target polygon construction. Multi-part input polygons will not appear as multi-part polygons in target.
If bModifyExisting is true, then the specified “processing bounds” envelope will be used to search for existing polygons in the target feature. Those polygons will be integrated with any polygons constructed from the input linework. Other than that, existing polygons have no influence on the nature of the constructed polygons. The processing bounds parameter can be nil if bModifyExisting is false.
If bReplaceTargetSelection is true, then the selected features that are already in the target feature class will be replaced by their planarized versions, otherwise the planarized versions will be added in addition to the originals, resulting in overlapping features in the target. In both cases, planarized features originating from target features will receive the correct attributes.
The label feature class is optional and can specify an attribute source for the constructed polygons.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)bModifyExisting - The bModifyExisting (in)bReplaceTargetSelection - The bReplaceTargetSelection (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)pLabels - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void constructPolygonsFromFeaturesFromCursor(ICancelOperation pCancel,
IFeatureClass pTargetFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
boolean bReplaceTargetSelection,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IFeatureClass pLabels)
throws java.io.IOException,
AutomationException
This method is similar to ConstructPolygonsFromFeatures, but uses a FeatureCursor for defining input features. This version is useful for standalone applications that don’t have access to a map selection object (or anything else that supports IEnumFeature).
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pTargetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)bModifyExisting - The bModifyExisting (in)bReplaceTargetSelection - The bReplaceTargetSelection (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)pLabels - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void constructPolygonsFromGeometries(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
boolean bModifyExisting,
IEnumGeometry pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
throws java.io.IOException,
AutomationException
This method is similar to ConstructPolygonsFromFeatures, but uses a geometry enumerator for defining input features instead of a map selection or a FeatureCursor.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)bModifyExisting - The bModifyExisting (in)pLineSrc - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void splitPolygonsWithLines(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
throws java.io.IOException,
AutomationException
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void splitPolygonsWithLinesFromCursor(ICancelOperation pCancel,
IFeatureClass pFC,
IEnvelope pProcessingBounds,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance)
throws java.io.IOException,
AutomationException
This method is similar to SplitPolygonsWithLines, but the feature source uses a FeatureCursor instead of a map selection to define the input features.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void autoCompleteFromGeometries(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumGeometry pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
throws java.io.IOException,
AutomationException
This method is similar to AutoCompleteFromFeatures, but uses a geometry enumerator for defining input features instead of a map selection or a FeatureCursor.
pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLineSrc - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)pSelectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)ppSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void autoCompleteFromFeatures(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IEnumFeature pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
throws java.io.IOException,
AutomationException
This method is similar to ConstructPolygonsFromFeatures, but existing polygons in the target polygon feature class will never be overlapped by constructed polygons, therefore, the processing bounds parameter should never be set to null.
The optional output SelectionSet contains references to all constructed polygons. If the SelectionSet is defined, then the selection workspace parameter must also be defined and will contain the selection set.
pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)pSelectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)ppSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void autoCompleteFromFeaturesFromCursor(IFeatureClass pFC,
IEnvelope pProcessingBounds,
IFeatureCursor pLineSrc,
IInvalidArea pInval,
double clusterTolerance,
IWorkspace pSelectionWorkspace,
ISelectionSet[] ppSelectionSet)
throws java.io.IOException,
AutomationException
This method is similar to AutoCompleteFromFeatures, but uses a FeatureCursor for defining input features.
pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pProcessingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)pInval - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)clusterTolerance - The clusterTolerance (in)pSelectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)ppSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void planarizeLines(ICancelOperation pCancel,
IEnumFeature pEF,
double clusterTolerance)
throws java.io.IOException,
AutomationException
This method is similar to ConstructLines in the case where the target feature class contains all the features in the enumerator. Existing features in the feature class are replaced by the planarized versions. Feature attributes are transferred.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pEF - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void planarizeLinesFromCursor(ICancelOperation pCancel,
IFeatureClass pFC,
IFeatureCursor pEF,
double clusterTolerance)
throws java.io.IOException,
AutomationException
This method is similar to PlanarizeLines except a FeatureCursor is used to define the input features.
pCancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)pFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)pEF - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)clusterTolerance - The clusterTolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConstructedFeaturesSubtype(int rhs1)
throws java.io.IOException,
AutomationException
Sets the subtype for subsequently constructed features.
rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultZ(double rhs1)
throws java.io.IOException,
AutomationException
Sets the z value to be used when constructing features from inputs that are not z-aware.
rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFeaturesChanged()
throws java.io.IOException,
AutomationException
java.io.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 | |||||||||