com.esri.arcgis.geometry
Interface ILine

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

public interface ILine
extends ICurve, java.io.Serializable

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

Description: 'Provides access to members that identify a straight line segment and defines its properties.' 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 IIDfea4c71c_c5ae_11d0_8307_0000f8034032
           
static int xxDummy
          Deprecated. Internal use only
 
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
 double getAngle()
          The angle between this line and the positive x-axis.
 void putCoords(IPoint from, IPoint to)
          Sets this line's endpoints to be 'from' and 'to'.
 void queryCoords(IPoint from, IPoint to)
          Copies the endpoints of this line to 'from' and 'to'.
 
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

IIDfea4c71c_c5ae_11d0_8307_0000f8034032

static final int IIDfea4c71c_c5ae_11d0_8307_0000f8034032
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

putCoords

void putCoords(IPoint from,
               IPoint to)
               throws java.io.IOException,
                      AutomationException
Sets this line's endpoints to be 'from' and 'to'.

Parameters:
from - A reference to a com.esri.arcgis.geometry.IPoint (in)
to - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoords

void queryCoords(IPoint from,
                 IPoint to)
                 throws java.io.IOException,
                        AutomationException
Copies the endpoints of this line to 'from' and 'to'.

Parameters:
from - A reference to a com.esri.arcgis.geometry.IPoint (in)
to - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

double getAngle()
                throws java.io.IOException,
                       AutomationException
The angle between this line and the positive x-axis.

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