com.esri.arcgis.geodatabase
Class FeatureConstruction

java.lang.Object
  extended by com.esri.arcgis.geodatabase.FeatureConstruction
All Implemented Interfaces:
IFeatureConstruction, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FeatureConstruction
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFeatureConstruction

COM Class 'FeatureConstruction'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Esri Feature Construction object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureConstruction
IID, IIDfdbc8766_19c6_43b7_a887_e556f15ec185, xxDummy
 
Constructor Summary
FeatureConstruction()
          Constructs a FeatureConstruction using ArcGIS Engine.
FeatureConstruction(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureConstruction theFeatureConstruction = (FeatureConstruction) obj;
 
Method Summary
 void autoCompleteFromFeatures(IFeatureClass featureClass, IEnvelope processingBounds, IEnumFeature lineSrc, IInvalidArea invalidArea, double clusterTolerance, IWorkspace selectionWorkspace, ISelectionSet[] selectionSet)
          Adds polygons to the specified feature class by combining existing polygons with the specified line source.
 void autoCompleteFromFeaturesFromCursor(IFeatureClass featureClass, IEnvelope processingBounds, IFeatureCursor lineSrc, IInvalidArea invalidArea, double clusterTolerance, IWorkspace selectionWorkspace, ISelectionSet[] selectionSet)
          Adds polygons to the specified feature class by combining existing polygons with the specified line source.
 void autoCompleteFromGeometries(IFeatureClass featureClass, IEnvelope processingBounds, IEnumGeometry lineSrc, IInvalidArea invalidArea, double clusterTolerance, IWorkspace selectionWorkspace, ISelectionSet[] selectionSet)
          Adds polygons to the specified feature class by combining existing polygons with the specified line source.
 void constructLines(ICancelOperation cancel, IFeatureClass targetFC, IEnumFeature sel, boolean replaceExistingInTarget, IInvalidArea invalidArea, double clusterTolerance)
          Adds line to an fc, using the map selection as the feature source.
 void constructLinesFromCursor(ICancelOperation cancel, IFeatureClass targetFC, IFeatureCursor sel, boolean replaceExistingInTarget, IInvalidArea invalidArea, double clusterTolerance)
          Adds line to a feature class, using a feature cursor as the feature source.
 void constructPolygonsFromFeatures(ICancelOperation cancel, IFeatureClass featureClass, IEnvelope processingBounds, boolean modifyExisting, boolean replaceTargetSelection, IEnumFeature lineSrc, IInvalidArea invalidArea, double clusterTolerance, IFeatureClass labels)
          Constructs polygons into the feature class, using the map's polyline selection as the feature source.
 void constructPolygonsFromFeaturesFromCursor(ICancelOperation cancel, IFeatureClass targetFC, IEnvelope processingBounds, boolean modifyExisting, boolean replaceTargetSelection, IFeatureCursor pLineSrc, IInvalidArea invalidArea, double clusterTolerance, IFeatureClass pLabels)
          Constructs polygons into the specified feature class, using the cursor as the feature source.
 void constructPolygonsFromGeometries(ICancelOperation cancel, IFeatureClass featureClass, IEnvelope processingBounds, boolean modifyExisting, IEnumGeometry pLineSrc, IInvalidArea invalidArea, 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 equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean isFeaturesChanged()
          Indicates if the last IFeatureConstruction method created or altered features.
 void planarizeLines(ICancelOperation cancel, IEnumFeature enumFeature, double clusterTolerance)
          Replaces the line selection set with a planarized version of it.
 void planarizeLinesFromCursor(ICancelOperation cancel, IFeatureClass featureClass, IFeatureCursor featureCursor, double clusterTolerance)
          Replaces the line selection set with a planarized version of it.
 void release()
          Release a FeatureConstruction.
 void setConstructedFeaturesSubtype(int rhs1)
          The subtype for subsequently constructed features.
 void setDefaultZ(double rhs1)
          The z value to be used when constructing features from inputs that are not z-aware.
 void splitPolygonsWithLines(ICancelOperation cancel, IFeatureClass featureClass, IEnvelope processingBounds, IEnumFeature lineSrc, IInvalidArea invalidArea, double clusterTolerance)
          Splits polygons in the specified feature class, using the polyline selection as the feature source.
 void splitPolygonsWithLinesFromCursor(ICancelOperation cancel, IFeatureClass featureClass, IEnvelope processingBounds, IFeatureCursor pLineSrc, IInvalidArea invalidArea, double clusterTolerance)
          Splits polygons in the specified feature class, using the polyline selection as the feature source.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureConstruction

public FeatureConstruction()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a FeatureConstruction using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FeatureConstruction

public FeatureConstruction(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureConstruction theFeatureConstruction = (FeatureConstruction) obj;

Construct a FeatureConstruction using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureConstruction.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FeatureConstruction.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

constructLines

public void constructLines(ICancelOperation cancel,
                           IFeatureClass targetFC,
                           IEnumFeature sel,
                           boolean replaceExistingInTarget,
                           IInvalidArea invalidArea,
                           double clusterTolerance)
                    throws java.io.IOException,
                           AutomationException
Adds line to an fc, using the map selection as the feature source. The selection can contain polygons and polylines from multiple features classes - including the target feature class. -1 for c.t. means use c.t. of target sr.

Specified by:
constructLines in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
targetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
sel - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
replaceExistingInTarget - The replaceExistingInTarget (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructLinesFromCursor

public void constructLinesFromCursor(ICancelOperation cancel,
                                     IFeatureClass targetFC,
                                     IFeatureCursor sel,
                                     boolean replaceExistingInTarget,
                                     IInvalidArea invalidArea,
                                     double clusterTolerance)
                              throws java.io.IOException,
                                     AutomationException
Adds line to a feature class, using a feature cursor as the feature source. The cursor can return features from the target feature class, in which case the original features will be deleted. -1 for c.t. means use c.t. of target sr.

Specified by:
constructLinesFromCursor in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
targetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
sel - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
replaceExistingInTarget - The replaceExistingInTarget (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructPolygonsFromFeatures

public void constructPolygonsFromFeatures(ICancelOperation cancel,
                                          IFeatureClass featureClass,
                                          IEnvelope processingBounds,
                                          boolean modifyExisting,
                                          boolean replaceTargetSelection,
                                          IEnumFeature lineSrc,
                                          IInvalidArea invalidArea,
                                          double clusterTolerance,
                                          IFeatureClass labels)
                                   throws java.io.IOException,
                                          AutomationException
Constructs polygons into the feature class, using the map's polyline selection as the feature source.

Specified by:
constructPolygonsFromFeatures in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
modifyExisting - The modifyExisting (in)
replaceTargetSelection - The replaceTargetSelection (in)
lineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
labels - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructPolygonsFromFeaturesFromCursor

public void constructPolygonsFromFeaturesFromCursor(ICancelOperation cancel,
                                                    IFeatureClass targetFC,
                                                    IEnvelope processingBounds,
                                                    boolean modifyExisting,
                                                    boolean replaceTargetSelection,
                                                    IFeatureCursor pLineSrc,
                                                    IInvalidArea invalidArea,
                                                    double clusterTolerance,
                                                    IFeatureClass pLabels)
                                             throws java.io.IOException,
                                                    AutomationException
Constructs polygons into the specified feature class, using the cursor as the feature source.

Specified by:
constructPolygonsFromFeaturesFromCursor in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
targetFC - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
modifyExisting - The modifyExisting (in)
replaceTargetSelection - The replaceTargetSelection (in)
pLineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
invalidArea - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructPolygonsFromGeometries

public void constructPolygonsFromGeometries(ICancelOperation cancel,
                                            IFeatureClass featureClass,
                                            IEnvelope processingBounds,
                                            boolean modifyExisting,
                                            IEnumGeometry pLineSrc,
                                            IInvalidArea invalidArea,
                                            double clusterTolerance)
                                     throws java.io.IOException,
                                            AutomationException
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).

Specified by:
constructPolygonsFromGeometries in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
modifyExisting - The modifyExisting (in)
pLineSrc - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitPolygonsWithLines

public void splitPolygonsWithLines(ICancelOperation cancel,
                                   IFeatureClass featureClass,
                                   IEnvelope processingBounds,
                                   IEnumFeature lineSrc,
                                   IInvalidArea invalidArea,
                                   double clusterTolerance)
                            throws java.io.IOException,
                                   AutomationException
Splits polygons in the specified feature class, using the polyline selection as the feature source.

Specified by:
splitPolygonsWithLines in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
lineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitPolygonsWithLinesFromCursor

public void splitPolygonsWithLinesFromCursor(ICancelOperation cancel,
                                             IFeatureClass featureClass,
                                             IEnvelope processingBounds,
                                             IFeatureCursor pLineSrc,
                                             IInvalidArea invalidArea,
                                             double clusterTolerance)
                                      throws java.io.IOException,
                                             AutomationException
Splits polygons in the specified feature class, using the polyline selection as the feature source.

Specified by:
splitPolygonsWithLinesFromCursor in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pLineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

autoCompleteFromGeometries

public void autoCompleteFromGeometries(IFeatureClass featureClass,
                                       IEnvelope processingBounds,
                                       IEnumGeometry lineSrc,
                                       IInvalidArea invalidArea,
                                       double clusterTolerance,
                                       IWorkspace selectionWorkspace,
                                       ISelectionSet[] selectionSet)
                                throws java.io.IOException,
                                       AutomationException
Adds polygons to the specified feature class by combining existing polygons with the specified line source.

Specified by:
autoCompleteFromGeometries in interface IFeatureConstruction
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
lineSrc - A reference to a com.esri.arcgis.geometry.IEnumGeometry (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
selectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

autoCompleteFromFeatures

public void autoCompleteFromFeatures(IFeatureClass featureClass,
                                     IEnvelope processingBounds,
                                     IEnumFeature lineSrc,
                                     IInvalidArea invalidArea,
                                     double clusterTolerance,
                                     IWorkspace selectionWorkspace,
                                     ISelectionSet[] selectionSet)
                              throws java.io.IOException,
                                     AutomationException
Adds polygons to the specified feature class by combining existing polygons with the specified line source.

Specified by:
autoCompleteFromFeatures in interface IFeatureConstruction
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
lineSrc - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
selectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

autoCompleteFromFeaturesFromCursor

public void autoCompleteFromFeaturesFromCursor(IFeatureClass featureClass,
                                               IEnvelope processingBounds,
                                               IFeatureCursor lineSrc,
                                               IInvalidArea invalidArea,
                                               double clusterTolerance,
                                               IWorkspace selectionWorkspace,
                                               ISelectionSet[] selectionSet)
                                        throws java.io.IOException,
                                               AutomationException
Adds polygons to the specified feature class by combining existing polygons with the specified line source.

Specified by:
autoCompleteFromFeaturesFromCursor in interface IFeatureConstruction
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
processingBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
lineSrc - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
clusterTolerance - The clusterTolerance (in)
selectionWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

planarizeLines

public void planarizeLines(ICancelOperation cancel,
                           IEnumFeature enumFeature,
                           double clusterTolerance)
                    throws java.io.IOException,
                           AutomationException
Replaces the line selection set with a planarized version of it. Assumes all lines are from same feature class.

Specified by:
planarizeLines in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
enumFeature - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

planarizeLinesFromCursor

public void planarizeLinesFromCursor(ICancelOperation cancel,
                                     IFeatureClass featureClass,
                                     IFeatureCursor featureCursor,
                                     double clusterTolerance)
                              throws java.io.IOException,
                                     AutomationException
Replaces the line selection set with a planarized version of it.

Specified by:
planarizeLinesFromCursor in interface IFeatureConstruction
Parameters:
cancel - A reference to a com.esri.arcgis.geodatabase.ICancelOperation (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
featureCursor - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)
clusterTolerance - The clusterTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConstructedFeaturesSubtype

public void setConstructedFeaturesSubtype(int rhs1)
                                   throws java.io.IOException,
                                          AutomationException
The subtype for subsequently constructed features.

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

setDefaultZ

public void setDefaultZ(double rhs1)
                 throws java.io.IOException,
                        AutomationException
The z value to be used when constructing features from inputs that are not z-aware.

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

isFeaturesChanged

public boolean isFeaturesChanged()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the last IFeatureConstruction method created or altered features.

Specified by:
isFeaturesChanged in interface IFeatureConstruction
Returns:
The featuresChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.