com.esri.arcgis.geometry
Class IMSegmentation4Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IMCollectionProxy
          extended by com.esri.arcgis.geometry.IMSegmentationProxy
              extended by com.esri.arcgis.geometry.IMSegmentation2Proxy
                  extended by com.esri.arcgis.geometry.IMSegmentation3Proxy
                      extended by com.esri.arcgis.geometry.IMSegmentation4Proxy
All Implemented Interfaces:
IMCollection, IMSegmentation, IMSegmentation2, IMSegmentation3, IMSegmentation4, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IMSegmentation4'. 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 =

public class IMSegmentation4Proxy
extends IMSegmentation3Proxy
implements IMSegmentation4, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.IMSegmentation4
IID, IID0aa29b2f_a1ad_448c_9b13_2aa06d14c022
 
Fields inherited from interface com.esri.arcgis.geometry.IMSegmentation3
IID58ad0d5d_393d_44aa_9797_6e50d06ed524
 
Fields inherited from interface com.esri.arcgis.geometry.IMSegmentation2
IIDb80d4790_f452_11d3_9f69_00c04f6bdd7f
 
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
 
Constructor Summary
  IMSegmentation4Proxy()
          Deprecated. For internal use only
  IMSegmentation4Proxy(java.lang.Object obj)
          Deprecated.  
protected IMSegmentation4Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IMSegmentation4Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IMSegmentation4Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 IEnumSplitPoint calibrateByDistance3D(IEnumVertex points, int updateHow, boolean ignoreGaps, double cutoffDistance)
          Deprecated. Calibrates Ms of existing vertices using new Ms from the input points and the shortest 3D path distances along the polyline between those points.
 IEnumSplitPoint calibrateByMs3D(IEnumVertex points, int updateHow, double cutoffDistance)
          Deprecated. Calibrates Ms of existing vertices using new Ms from the input points and existing Ms along the shortest 3D paths between those points.
 void extrapolateMs3D(int extrapolationStyle, int fromPart, int fromPoint, int toPart, int toPoint)
          Deprecated. Extrapolates the Ms at one or both ends of the geometry based on the M interval between the fromIndex and the toIndex.
 java.lang.Object getDistancesAtM3D(boolean asRatio, double m)
          Deprecated. Returns an array of 3D distances along the polyline at which is located the specified M.
 java.lang.Object getMsAtDistance3D(double distance, boolean asRatio)
          Deprecated. Returns M values at the 3D distance along the geometry.
 IGeometryCollection getPointsAtM3D(double m, IVector3D offset)
          Deprecated. Returns a multipoint geometry corresponding to the locations along the geometry where the specified M occurs.
 IGeometryCollection getSubcurveBetweenMs3D(double fromM, double toM)
          Deprecated. Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM.
 IGeometryCollection getSubcurveBetweenMsEx3D(double fromM, double toM, int[] fromMDetails, int[] toMDetails)
          Deprecated. Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM values.
 void insertMAtDistance3D(double m, double distance, boolean asRatio, boolean createPart, boolean[] splitHappened, int[] newPartIndex, int[] newSegmentIndex)
          Deprecated. Sets the M value at the given 3D distance along the geometry; creates a point at that distance if no point exists there.
 void interpolateMsBetween3D(int fromPart, int fromPoint, int toPart, int toPoint)
          Deprecated. Generates Ms by linear interpolation of 3D distances for all vertices in the range [start+1, end-1].
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setAndInterpolateMsBetween3D(double fromM, double toM)
          Deprecated. Sets the Ms at the beginning and the end of the geometry and interpolates the M values between these values based on an interpolation normalized to the 3D length of the shape.
 void setMsAsDistance3D(boolean asRatio)
          Deprecated. Sets the M values to the cumulative 3D length from the origin of the geometry.
 
Methods inherited from class com.esri.arcgis.geometry.IMSegmentation3Proxy
getMMonotonicity, getNormalsAtM, orientByMs, queryFirstLastM, updateAllMsByMs
 
Methods inherited from class com.esri.arcgis.geometry.IMSegmentation2Proxy
calibrateByDistance, calibrateByMs, getSubcurveBetweenMsEx, setMsAsDistance2, updateMsByDistance, updateMsByMs
 
Methods inherited from class com.esri.arcgis.geometry.IMSegmentationProxy
calculateNonSimpleMs, extrapolateMs, getDistancesAtM, getMMonotonic, getMsAtDistance, getPointsAtM, getSubcurveBetweenMs, insertMAtDistance, interpolateMsBetween, reverseMsOrder, setAndInterpolateMsBetween, setMsAsDistance
 
Methods inherited from class com.esri.arcgis.geometry.IMCollectionProxy
getMMax, getMMin, multiplyMs, offsetMs
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.IMSegmentation3
getMMonotonicity, getNormalsAtM, orientByMs, queryFirstLastM, updateAllMsByMs
 
Methods inherited from interface com.esri.arcgis.geometry.IMSegmentation2
calibrateByDistance, calibrateByMs, getSubcurveBetweenMsEx, setMsAsDistance2, updateMsByDistance, updateMsByMs
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IMSegmentation4Proxy

public IMSegmentation4Proxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IMSegmentation4Proxy

public IMSegmentation4Proxy()
Deprecated. 
For internal use only


IMSegmentation4Proxy

public IMSegmentation4Proxy(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMSegmentation4Proxy

protected IMSegmentation4Proxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMSegmentation4Proxy

protected IMSegmentation4Proxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class IMSegmentation3Proxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class IMSegmentation3Proxy
Throws:
java.io.IOException

calibrateByDistance3D

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

Specified by:
calibrateByDistance3D in interface IMSegmentation4
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.

calibrateByMs3D

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

Specified by:
calibrateByMs3D in interface IMSegmentation4
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.

getDistancesAtM3D

public java.lang.Object getDistancesAtM3D(boolean asRatio,
                                          double m)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Returns an array of 3D distances along the polyline at which is located the specified M. If the geometry's M's are monotonic along the geometry then the array will only have one element.

Specified by:
getDistancesAtM3D in interface IMSegmentation4
Parameters:
asRatio - The asRatio (in)
m - The m (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMsAtDistance3D

public java.lang.Object getMsAtDistance3D(double distance,
                                          boolean asRatio)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Returns M values at the 3D distance along the geometry. An array of one or two Ms is returned. Two Ms can be returned if the given distance is exactly at the beginning or ending of a part.

Specified by:
getMsAtDistance3D in interface IMSegmentation4
Parameters:
distance - The distance (in)
asRatio - The asRatio (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateMsBetween3D

public void interpolateMsBetween3D(int fromPart,
                                   int fromPoint,
                                   int toPart,
                                   int toPoint)
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
Generates Ms by linear interpolation of 3D distances for all vertices in the range [start+1, end-1].

Specified by:
interpolateMsBetween3D in interface IMSegmentation4
Parameters:
fromPart - The fromPart (in)
fromPoint - The fromPoint (in)
toPart - The toPart (in)
toPoint - The toPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAndInterpolateMsBetween3D

public void setAndInterpolateMsBetween3D(double fromM,
                                         double toM)
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Sets the Ms at the beginning and the end of the geometry and interpolates the M values between these values based on an interpolation normalized to the 3D length of the shape.

Specified by:
setAndInterpolateMsBetween3D in interface IMSegmentation4
Parameters:
fromM - The fromM (in)
toM - The toM (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertMAtDistance3D

public void insertMAtDistance3D(double m,
                                double distance,
                                boolean asRatio,
                                boolean createPart,
                                boolean[] splitHappened,
                                int[] newPartIndex,
                                int[] newSegmentIndex)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Sets the M value at the given 3D distance along the geometry; creates a point at that distance if no point exists there.

Specified by:
insertMAtDistance3D in interface IMSegmentation4
Parameters:
m - The m (in)
distance - The distance (in)
asRatio - The asRatio (in)
createPart - The createPart (in)
splitHappened - The splitHappened (out: use single element array)
newPartIndex - The newPartIndex (out: use single element array)
newSegmentIndex - The newSegmentIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointsAtM3D

public IGeometryCollection getPointsAtM3D(double m,
                                          IVector3D offset)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Returns a multipoint geometry corresponding to the locations along the geometry where the specified M occurs.

Specified by:
getPointsAtM3D in interface IMSegmentation4
Parameters:
m - The m (in)
offset - A reference to a com.esri.arcgis.geometry.IVector3D (in)
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.

getSubcurveBetweenMs3D

public IGeometryCollection getSubcurveBetweenMs3D(double fromM,
                                                  double toM)
                                           throws java.io.IOException,
                                                  AutomationException
Deprecated. 
Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM.

Specified by:
getSubcurveBetweenMs3D in interface IMSegmentation4
Parameters:
fromM - The fromM (in)
toM - The toM (in)
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.

getSubcurveBetweenMsEx3D

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

Specified by:
getSubcurveBetweenMsEx3D in interface IMSegmentation4
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.

extrapolateMs3D

public void extrapolateMs3D(int extrapolationStyle,
                            int fromPart,
                            int fromPoint,
                            int toPart,
                            int toPoint)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Extrapolates the Ms at one or both ends of the geometry based on the M interval between the fromIndex and the toIndex.

Specified by:
extrapolateMs3D in interface IMSegmentation4
Parameters:
extrapolationStyle - A com.esri.arcgis.geometry.esriExtrapolationEnum constant (in)
fromPart - The fromPart (in)
fromPoint - The fromPoint (in)
toPart - The toPart (in)
toPoint - The toPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMsAsDistance3D

public void setMsAsDistance3D(boolean asRatio)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Sets the M values to the cumulative 3D length from the origin of the geometry.

Specified by:
setMsAsDistance3D in interface IMSegmentation4
Parameters:
asRatio - The asRatio (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.