com.esri.arcgis.geodatabaseextensions
Class LineResequencer

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.LineResequencer
All Implemented Interfaces:
ILineResequencer, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class LineResequencer
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILineResequencer

Class for sorting lines to form parcel boundaries.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
LineResequencer()
          Constructs a LineResequencer using ArcGIS Engine.
LineResequencer(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LineResequencer theLineResequencer = (LineResequencer) obj;
 
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.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void sort(boolean presentation, ILongArray[] ppLineOrder, ILongArray[] ppReverse, IGeometry[] ppParcel, boolean[] pFormsLoop)
          Sort the stored lines and return an ordered array of line OIDs.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

LineResequencer

public LineResequencer()
                throws IOException,
                       UnknownHostException
Constructs a LineResequencer using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

LineResequencer

public LineResequencer(Object obj)
                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LineResequencer theLineResequencer = (LineResequencer) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

empty

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

Product Availability

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

Specified by:
empty in interface ILineResequencer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLine

public 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.

Specified by:
addLine in interface ILineResequencer
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

public 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.

Specified by:
sort in interface ILineResequencer
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.