com.esri.arcgis.geometry
Interface ISegment

All Superinterfaces:
ICurve, IGeometry, java.io.Serializable
All Known Subinterfaces:
ITopologicalSegment, ITopologicalSegment2
All Known Implementing Classes:
BezierCurve, CircularArc, EllipticArc, ISegmentProxy, ITopologicalSegment2Proxy, ITopologicalSegmentProxy, Line

public interface ISegment
extends ICurve, java.io.Serializable

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

Description: 'Provides access to members that identify a segment. A segment is a way of getting between two endpoints.' 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 IIDf2c4f0de_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
 void densify(int cInSlots, double maxDeviation, int[] pcOutSegments, ILine[] segments)
          Densify segment into the specified number of smaller segments.
 void geographicShift(double splitLongitude)
          Shift longitudes to the right of splitLongitude.
 void queryCurvature(double distanceAlongCurve, boolean asRatio, double[] curvature, ILine unitVector)
          Finds curvature and unit vector starting at point on segment and directed to embedded circle center.
 int returnTurnDirection(ISegment otherSegment)
          Finds turn direction between two connected segments.
 void splitAtDistance(double distances, boolean asRatio, ISegment[] fromSegment, ISegment[] toSegment)
          Split segment at specified distance.
 void splitDivideLength(double offset, double length, boolean asRatio, int[] numSplitSegments, ISegment splitSegments)
          Divide segment into smaller segments of the specified length.
 
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

IIDf2c4f0de_c5ae_11d0_8307_0000f8034032

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

queryCurvature

void queryCurvature(double distanceAlongCurve,
                    boolean asRatio,
                    double[] curvature,
                    ILine unitVector)
                    throws java.io.IOException,
                           AutomationException
Finds curvature and unit vector starting at point on segment and directed to embedded circle center.

Parameters:
distanceAlongCurve - The distanceAlongCurve (in)
asRatio - The asRatio (in)
curvature - The curvature (out: use single element array)
unitVector - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnTurnDirection

int returnTurnDirection(ISegment otherSegment)
                        throws java.io.IOException,
                               AutomationException
Finds turn direction between two connected segments.

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

splitAtDistance

void splitAtDistance(double distances,
                     boolean asRatio,
                     ISegment[] fromSegment,
                     ISegment[] toSegment)
                     throws java.io.IOException,
                            AutomationException
Split segment at specified distance.

Parameters:
distances - The distances (in)
asRatio - The asRatio (in)
fromSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)
toSegment - A reference to a com.esri.arcgis.geometry.ISegment (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitDivideLength

void splitDivideLength(double offset,
                       double length,
                       boolean asRatio,
                       int[] numSplitSegments,
                       ISegment splitSegments)
                       throws java.io.IOException,
                              AutomationException
Divide segment into smaller segments of the specified length.

Parameters:
offset - The offset (in)
length - The length (in)
asRatio - The asRatio (in)
numSplitSegments - The numSplitSegments (in)
splitSegments - A reference to a com.esri.arcgis.geometry.ISegment (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

densify

void densify(int cInSlots,
             double maxDeviation,
             int[] pcOutSegments,
             ILine[] segments)
             throws java.io.IOException,
                    AutomationException
Densify segment into the specified number of smaller segments. This method is intended for internal use only.

Parameters:
cInSlots - The cInSlots (in)
maxDeviation - The maxDeviation (in)
pcOutSegments - The pcOutSegments (out: use single element array)
segments - A reference to a com.esri.arcgis.geometry.ILine (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geographicShift

void geographicShift(double splitLongitude)
                     throws java.io.IOException,
                            AutomationException
Shift longitudes to the right of splitLongitude. This method is obsolete.

Parameters:
splitLongitude - The splitLongitude (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.