com.esri.arcgis.geometry
Class IMSegmentationProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IMCollectionProxy
          extended by com.esri.arcgis.geometry.IMSegmentationProxy
All Implemented Interfaces:
IMCollection, IMSegmentation, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IMSegmentation2Proxy

Deprecated. Internal use only. Proxy for COM Interface 'IMSegmentation'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members for defining an M-based linear coordinate system on a polyline or polygon.' 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 IMSegmentationProxy
extends IMCollectionProxy
implements IMSegmentation, 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.IMSegmentation
IID, IIDfd5e17ec_d717_11d2_9f34_00c04f6bdf06
 
Fields inherited from interface com.esri.arcgis.geometry.IMCollection
IID01faff20_5191_11d2_92f6_0000f875171d
 
Constructor Summary
  IMSegmentationProxy()
          Deprecated. For internal use only
  IMSegmentationProxy(java.lang.Object obj)
          Deprecated.  
protected IMSegmentationProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IMSegmentationProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IMSegmentationProxy(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.  
 void calculateNonSimpleMs()
          Deprecated. Redefines the non-simple Ms to be values obtained from interpolation of surrounding defined Ms, or extrapolation of Ms.
 void extrapolateMs(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 getDistancesAtM(boolean asRatio, double m)
          Deprecated. Returns an array of distances along the polyline at which is located the specified M.
 int getMMonotonic()
          Deprecated. A value indicating whether Ms are monotonic, and if so, whether they are ascending or descending.
 java.lang.Object getMsAtDistance(double distance, boolean asRatio)
          Deprecated. Returns M values at the distance along the geometry.
 IGeometryCollection getPointsAtM(double m, double lateralOffset)
          Deprecated. Returns a multipoint geometry corresponding to the locations along the geometry where the specified M occurs.
 IGeometryCollection getSubcurveBetweenMs(double fromM, double toM)
          Deprecated. Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM.
 void insertMAtDistance(double m, double distance, boolean asRatio, boolean createPart, boolean[] splitHappened, int[] newPartIndex, int[] newSegmentIndex)
          Deprecated. Sets the M value at the given distance along the geometry; creates a point at that distance if no point exists there.
 void interpolateMsBetween(int fromPart, int fromPoint, int toPart, int toPoint)
          Deprecated. Generates Ms by linear interpolation of segment distances for all vertices in the range [start+1, end-1].
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void reverseMsOrder()
          Deprecated. Reverses the order of the Ms along the geometry.
 void setAndInterpolateMsBetween(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.
 void setMsAsDistance(boolean asRatio)
          Deprecated. Sets the M values to the cumulative length from the origin of the geometry.
 
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.IMCollection
getMMax, getMMin, multiplyMs, offsetMs
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IMSegmentationProxy

public IMSegmentationProxy(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

IMSegmentationProxy

public IMSegmentationProxy()
Deprecated. 
For internal use only


IMSegmentationProxy

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

IMSegmentationProxy

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

IMSegmentationProxy

protected IMSegmentationProxy(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 IMCollectionProxy
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 IMCollectionProxy
Throws:
java.io.IOException

getMMonotonic

public int getMMonotonic()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
A value indicating whether Ms are monotonic, and if so, whether they are ascending or descending.

Specified by:
getMMonotonic in interface IMSegmentation
Returns:
A com.esri.arcgis.geometry.esriMMonotonicEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMsAtDistance

public java.lang.Object getMsAtDistance(double distance,
                                        boolean asRatio)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
Returns M values at the 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:
getMsAtDistance in interface IMSegmentation
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.

insertMAtDistance

public void insertMAtDistance(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 distance along the geometry; creates a point at that distance if no point exists there.

Specified by:
insertMAtDistance in interface IMSegmentation
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.

getDistancesAtM

public java.lang.Object getDistancesAtM(boolean asRatio,
                                        double m)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
Returns an array of 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:
getDistancesAtM in interface IMSegmentation
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.

reverseMsOrder

public void reverseMsOrder()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Reverses the order of the Ms along the geometry.

Specified by:
reverseMsOrder in interface IMSegmentation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateMsBetween

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

Specified by:
interpolateMsBetween in interface IMSegmentation
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.

setAndInterpolateMsBetween

public void setAndInterpolateMsBetween(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.

Specified by:
setAndInterpolateMsBetween in interface IMSegmentation
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.

setMsAsDistance

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

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

extrapolateMs

public void extrapolateMs(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:
extrapolateMs in interface IMSegmentation
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.

calculateNonSimpleMs

public void calculateNonSimpleMs()
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Redefines the non-simple Ms to be values obtained from interpolation of surrounding defined Ms, or extrapolation of Ms.

Specified by:
calculateNonSimpleMs in interface IMSegmentation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointsAtM

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

Specified by:
getPointsAtM in interface IMSegmentation
Parameters:
m - The m (in)
lateralOffset - The lateralOffset (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.

getSubcurveBetweenMs

public IGeometryCollection getSubcurveBetweenMs(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:
getSubcurveBetweenMs in interface IMSegmentation
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.