com.esri.arcgis.geometry
Interface ILine2

All Superinterfaces:
ICurve, IGeometry, ILine, java.io.Serializable
All Known Subinterfaces:
ILine3
All Known Implementing Classes:
ILine2Proxy, ILine3Proxy, Line

public interface ILine2
extends ILine, java.io.Serializable

COM Interface 'ILine2'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to the coordinates of a line segment in the form of Well Known Structures (WKS).' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa1d604a8_7914_4435_9b26_43e1ea5baa99
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geometry.ILine
IIDfea4c71c_c5ae_11d0_8307_0000f8034032
 
Fields inherited from interface com.esri.arcgis.geometry.ICurve
IID1b077916_38c5_11d0_92d2_00805f7c28b0
 
Fields inherited from interface com.esri.arcgis.geometry.IGeometry
IID1b07790d_38c5_11d0_92d2_00805f7c28b0
 
Method Summary
 void putWKSCoords(_WKSPoint from, _WKSPoint to)
          From and To become the new endpoints of this line.
 void queryWKSCoords(_WKSPoint[] from, _WKSPoint[] to)
          Returns the (x,y) coordinates of this line's endpoints.
 
Methods inherited from interface com.esri.arcgis.geometry.ILine
getAngle, putCoords, queryCoords
 
Methods inherited from interface com.esri.arcgis.geometry.ICurve
getFromPoint, getLength, getSubcurve, getToPoint, isClosed, queryFromPoint, queryNormal, queryPoint, queryPointAndDistance, queryTangent, queryToPoint, reverseOrientation, setFromPoint, setToPoint
 
Methods inherited from interface com.esri.arcgis.geometry.IGeometry
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference
 

Field Detail

IIDa1d604a8_7914_4435_9b26_43e1ea5baa99

static final int IIDa1d604a8_7914_4435_9b26_43e1ea5baa99
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

putWKSCoords

void putWKSCoords(_WKSPoint from,
                  _WKSPoint to)
                  throws java.io.IOException,
                         AutomationException
From and To become the new endpoints of this line. Any existing attributes are deleted.

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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryWKSCoords

void queryWKSCoords(_WKSPoint[] from,
                    _WKSPoint[] to)
                    throws java.io.IOException,
                           AutomationException
Returns the (x,y) coordinates of this line's endpoints.

Parameters:
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.