com.esri.arcgis.geodatabaseextensions
Interface ILineResequencer

All Superinterfaces:
Serializable
All Known Implementing Classes:
LineResequencer

public interface ILineResequencer
extends Serializable

Provides access to members that sort a set of lines so that they form the boundary of a parcel. Multipart/islands are supported.

Product Availability

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


Method Summary
 void addLine(ICurve pLine, int lineID, int eCategory)
          Add a single line to the resequencer.
 void empty()
          Empty the line resequencer of stored lines.
 void sort(boolean presentation, ILongArray[] ppLineOrder, ILongArray[] ppReverse, IGeometry[] ppParcel, boolean[] pFormsLoop)
          Sort the stored lines and return an ordered array of line OIDs.
 

Method Detail

empty

void empty()
           throws IOException,
                  AutomationException
Empty the line resequencer of stored lines.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLine

void addLine(ICurve pLine,
             int lineID,
             int eCategory)
             throws IOException,
                    AutomationException
Add a single line to the resequencer. lineID needs to be unique.

Product Availability

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

Parameters:
pLine - A reference to a com.esri.arcgis.geometry.ICurve (in)
lineID - The lineID (in)
eCategory - A com.esri.arcgis.geodatabaseextensions.esriCadastralLineCategory constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sort

void sort(boolean presentation,
          ILongArray[] ppLineOrder,
          ILongArray[] ppReverse,
          IGeometry[] ppParcel,
          boolean[] pFormsLoop)
          throws IOException,
                 AutomationException
Sort the stored lines and return an ordered array of line OIDs.

Product Availability

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

Parameters:
presentation - The presentation (in)
ppLineOrder - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
ppReverse - A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)
ppParcel - A reference to a com.esri.arcgis.geometry.IGeometry (in/out: use single element array)
pFormsLoop - The pFormsLoop (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.