com.esri.arcgis.geometry
Interface IESRISegment

All Superinterfaces:
Serializable
All Known Subinterfaces:
IESRISegment2
All Known Implementing Classes:
IESRISegment2Proxy, IESRISegmentProxy

public interface IESRISegment
extends Serializable

Superseded By

IESRISegment2

Product Availability

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


Method Summary
 void exportToESRISegment(byte[] byteBuffer, int[] cBytesWrote)
          exportToESRISegment
 int getESRISegmentSize()
          getESRISegmentSize
 int getMaxDenseSegments(double maxDeviation)
          getMaxDenseSegments
 void importFromESRISegment(_WKSPoint from, _WKSPoint to, double[] zs, double[] ms, int[] iDs, int numModifierBytes, byte[] segmentBuffer, int[] cBytesRead)
          importFromESRISegment
 

Method Detail

getESRISegmentSize

int getESRISegmentSize()
                       throws IOException,
                              AutomationException
getESRISegmentSize

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getMaxDenseSegments

int getMaxDenseSegments(double maxDeviation)
                        throws IOException,
                               AutomationException
getMaxDenseSegments

Product Availability

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

Parameters:
maxDeviation - The maxDeviation (in)
Returns:
The cBytes
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromESRISegment

void importFromESRISegment(_WKSPoint from,
                           _WKSPoint to,
                           double[] zs,
                           double[] ms,
                           int[] iDs,
                           int numModifierBytes,
                           byte[] segmentBuffer,
                           int[] cBytesRead)
                           throws IOException,
                                  AutomationException
importFromESRISegment

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
zs - The zs (in)
ms - The ms (in)
iDs - The iDs (in)
numModifierBytes - The numModifierBytes (in)
segmentBuffer - An unsigned byte (in)
cBytesRead - The cBytesRead (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToESRISegment

void exportToESRISegment(byte[] byteBuffer,
                         int[] cBytesWrote)
                         throws IOException,
                                AutomationException
exportToESRISegment

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
byteBuffer - An unsigned byte (out: use single element array)
cBytesWrote - The cBytesWrote (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.