com.esri.arcgis.geometry
Class IVertexAttributeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IVertexAttributeProxy
All Implemented Interfaces:
IVertexAttribute, Externalizable, Serializable
Direct Known Subclasses:
IVertexAttribute2Proxy

public class IVertexAttributeProxy
extends com.esri.arcgis.interop.Dispatch
implements IVertexAttribute, Serializable

Identifies geometries that can have attributes on their vertices.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IVertexAttributeProxy()
           
  IVertexAttributeProxy(Object obj)
           
protected IVertexAttributeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void calculateNonSimpleVertexAttributes(int attributeType)
          Extrapolates/interpolates the non-simple vertex attribute values.
 void extrapolateVertexAttributes(int attributeType, int extrapolationStyle, int startPart, int startPoint, int endPart, int endPoint)
          Extrapolates the attribute values at the begining of the geometry up to the fromIndex based on the attribute value interval between the fromIndex and the toIndex.
 double getVertexAttributeMax(int attributeType)
          The maximum vertex attribute value of this type for all vertices in this object.
 double getVertexAttributeMin(int attributeType)
          The minimum vertex attribute value of this type for all vertices in this object.
 void interpolateVertexAttributesBetween(int interpolatedAttributes, int startPart, int startPoint, int endPart, int endPoint)
          Generate vertex attribute values by linear interpolation for all vertices in the range [start+1, end-1].
 boolean isVertexAttributeSimple(int attributeType)
          Indicates if there are no 'empty' vertex attribute values of this type for this object.
 void multiplyVertexAttributes(int attributeType, double factor)
          Scale all vertex attribute values of this type by the specified factor.
 void offsetVertexAttributes(int attributeType, double offset)
          Offset all vertex attribute values of this type by the specified factor.
 void removeListener(String iidStr, Object theListener)
           
 void transferAttributes(ICurve srcCurve)
          For each vertex on this geometry, assign the attributes found at the point an equal fraction of the distance along the source geometry (the point need not be an explicit vertex).
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IVertexAttributeProxy

public IVertexAttributeProxy()

IVertexAttributeProxy

public IVertexAttributeProxy(Object obj)
                      throws IOException
Throws:
IOException

IVertexAttributeProxy

protected IVertexAttributeProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isVertexAttributeSimple

public boolean isVertexAttributeSimple(int attributeType)
                                throws IOException,
                                       AutomationException
Indicates if there are no 'empty' vertex attribute values of this type for this object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isVertexAttributeSimple in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
Returns:
The attribSimple
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVertexAttributeMin

public double getVertexAttributeMin(int attributeType)
                             throws IOException,
                                    AutomationException
The minimum vertex attribute value of this type for all vertices in this object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getVertexAttributeMin in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
Returns:
The attributeMin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVertexAttributeMax

public double getVertexAttributeMax(int attributeType)
                             throws IOException,
                                    AutomationException
The maximum vertex attribute value of this type for all vertices in this object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getVertexAttributeMax in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
Returns:
The attributeMax
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

multiplyVertexAttributes

public void multiplyVertexAttributes(int attributeType,
                                     double factor)
                              throws IOException,
                                     AutomationException
Scale all vertex attribute values of this type by the specified factor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
multiplyVertexAttributes in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
factor - The factor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

offsetVertexAttributes

public void offsetVertexAttributes(int attributeType,
                                   double offset)
                            throws IOException,
                                   AutomationException
Offset all vertex attribute values of this type by the specified factor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
offsetVertexAttributes in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
offset - The offset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateVertexAttributesBetween

public void interpolateVertexAttributesBetween(int interpolatedAttributes,
                                               int startPart,
                                               int startPoint,
                                               int endPart,
                                               int endPoint)
                                        throws IOException,
                                               AutomationException
Generate vertex attribute values by linear interpolation for all vertices in the range [start+1, end-1]. (Sets point IDs to 0 rather than interpolating).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interpolateVertexAttributesBetween in interface IVertexAttribute
Parameters:
interpolatedAttributes - The interpolatedAttributes (in)
startPart - The startPart (in)
startPoint - The startPoint (in)
endPart - The endPart (in)
endPoint - The endPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extrapolateVertexAttributes

public void extrapolateVertexAttributes(int attributeType,
                                        int extrapolationStyle,
                                        int startPart,
                                        int startPoint,
                                        int endPart,
                                        int endPoint)
                                 throws IOException,
                                        AutomationException
Extrapolates the attribute values at the begining of the geometry up to the fromIndex based on the attribute value interval between the fromIndex and the toIndex.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
extrapolateVertexAttributes in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
extrapolationStyle - A com.esri.arcgis.geometry.esriExtrapolationEnum constant (in)
startPart - The startPart (in)
startPoint - The startPoint (in)
endPart - The endPart (in)
endPoint - The endPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateNonSimpleVertexAttributes

public void calculateNonSimpleVertexAttributes(int attributeType)
                                        throws IOException,
                                               AutomationException
Extrapolates/interpolates the non-simple vertex attribute values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
calculateNonSimpleVertexAttributes in interface IVertexAttribute
Parameters:
attributeType - A com.esri.arcgis.geometry.esriGeometryAttributes constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transferAttributes

public void transferAttributes(ICurve srcCurve)
                        throws IOException,
                               AutomationException
For each vertex on this geometry, assign the attributes found at the point an equal fraction of the distance along the source geometry (the point need not be an explicit vertex).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
transferAttributes in interface IVertexAttribute
Parameters:
srcCurve - A reference to a com.esri.arcgis.geometry.ICurve (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.