com.esri.arcgis.geometry
Interface IMSegmentation2

All Superinterfaces:
IMCollection, IMSegmentation, java.io.Serializable
All Known Subinterfaces:
IMSegmentation3, IMSegmentation4
All Known Implementing Classes:
IMSegmentation2Proxy, IMSegmentation3Proxy, IMSegmentation4Proxy, Polyline

public interface IMSegmentation2
extends IMSegmentation, java.io.Serializable

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

Description: 'Provides access to additional linear referencing operations on polylines.' 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 IIDb80d4790_f452_11d3_9f69_00c04f6bdd7f
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geometry.IMSegmentation
IIDfd5e17ec_d717_11d2_9f34_00c04f6bdf06
 
Fields inherited from interface com.esri.arcgis.geometry.IMCollection
IID01faff20_5191_11d2_92f6_0000f875171d
 
Method Summary
 IEnumSplitPoint calibrateByDistance(IEnumVertex points, int updateHow, boolean ignoreGaps, double cutoffDistance)
          Calibrates Ms of existing vertices using new Ms from the input points and the shortest path distances along the polyline between those points.
 IEnumSplitPoint calibrateByMs(IEnumVertex points, int updateHow, double cutoffDistance)
          Calibrates Ms of existing vertices using new Ms from the input points and existing Ms along shortest paths between those points.
 IGeometryCollection getSubcurveBetweenMsEx(double fromM, double toM, int[] fromMDetails, int[] toMDetails)
          Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM values.
 void setMsAsDistance2(IPoint origin, double scale, double offset, boolean ignoreGaps)
          Sets Ms on vertices as scaled and offset distances from the input origin as measured along the polyline.
 void updateMsByDistance(int fromPart, int fromPoint, int toPart, int toPoint, double fromM, double toM, int updateHow, boolean ignoreGaps)
          Updates Ms along the shortest path between the specified endpoints.
 void updateMsByMs(int fromPart, int fromPoint, int toPart, int toPoint, double fromM, double toM, int updateHow)
          Updates Ms along the shortest path between the specified endpoints.
 
Methods inherited from interface com.esri.arcgis.geometry.IMSegmentation
calculateNonSimpleMs, extrapolateMs, getDistancesAtM, getMMonotonic, getMsAtDistance, getPointsAtM, getSubcurveBetweenMs, insertMAtDistance, interpolateMsBetween, reverseMsOrder, setAndInterpolateMsBetween, setMsAsDistance
 
Methods inherited from interface com.esri.arcgis.geometry.IMCollection
getMMax, getMMin, multiplyMs, offsetMs
 

Field Detail

IIDb80d4790_f452_11d3_9f69_00c04f6bdd7f

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

setMsAsDistance2

void setMsAsDistance2(IPoint origin,
                      double scale,
                      double offset,
                      boolean ignoreGaps)
                      throws java.io.IOException,
                             AutomationException
Sets Ms on vertices as scaled and offset distances from the input origin as measured along the polyline. Shortest path distances from the origin are used. Optionally ignores distances between parts of the polyline.

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

updateMsByDistance

void updateMsByDistance(int fromPart,
                        int fromPoint,
                        int toPart,
                        int toPoint,
                        double fromM,
                        double toM,
                        int updateHow,
                        boolean ignoreGaps)
                        throws java.io.IOException,
                               AutomationException
Updates Ms along the shortest path between the specified endpoints. The interpolation ratio is determined by the input ms and euclidean distance along that path. The update method is given as a combination of esriGeometryUpdateMEnum values.

Parameters:
fromPart - The fromPart (in)
fromPoint - The fromPoint (in)
toPart - The toPart (in)
toPoint - The toPoint (in)
fromM - The fromM (in)
toM - The toM (in)
updateHow - The updateHow (in)
ignoreGaps - The ignoreGaps (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMsByMs

void updateMsByMs(int fromPart,
                  int fromPoint,
                  int toPart,
                  int toPoint,
                  double fromM,
                  double toM,
                  int updateHow)
                  throws java.io.IOException,
                         AutomationException
Updates Ms along the shortest path between the specified endpoints. The interpolation ratio is determined by the existing ms along that path and the input ms. The update method is given as a combination of esriGeometryUpdateMEnum values.

Parameters:
fromPart - The fromPart (in)
fromPoint - The fromPoint (in)
toPart - The toPart (in)
toPoint - The toPoint (in)
fromM - The fromM (in)
toM - The toM (in)
updateHow - The updateHow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calibrateByDistance

IEnumSplitPoint calibrateByDistance(IEnumVertex points,
                                    int updateHow,
                                    boolean ignoreGaps,
                                    double cutoffDistance)
                                    throws java.io.IOException,
                                           AutomationException
Calibrates Ms of existing vertices using new Ms from the input points and the shortest path distances along the polyline between those points. The update method is given as a combination of esriGeometryUpdateMEnum values.

Parameters:
points - A reference to a com.esri.arcgis.geometry.IEnumVertex (in)
updateHow - The updateHow (in)
ignoreGaps - The ignoreGaps (in)
cutoffDistance - The cutoffDistance (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnumSplitPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calibrateByMs

IEnumSplitPoint calibrateByMs(IEnumVertex points,
                              int updateHow,
                              double cutoffDistance)
                              throws java.io.IOException,
                                     AutomationException
Calibrates Ms of existing vertices using new Ms from the input points and existing Ms along shortest paths between those points. The update method is given as a combination of esriGeometryUpdateMEnum values.

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

getSubcurveBetweenMsEx

IGeometryCollection getSubcurveBetweenMsEx(double fromM,
                                           double toM,
                                           int[] fromMDetails,
                                           int[] toMDetails)
                                           throws java.io.IOException,
                                                  AutomationException
Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM values. The 'details' arguments are composed of esriMCurveRelationEnum values.

Parameters:
fromM - The fromM (in)
toM - The toM (in)
fromMDetails - The fromMDetails (in/out: use single element array)
toMDetails - The toMDetails (in/out: use single element array)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometryCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.