Description: 'Provides access to vector properties and operations.' 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 IVectorProxy extends com.esri.arcgis.interop.Dispatch implements IVector, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID40d717c9_10c2_11d4_9f59_00c04f6bdf0d
Modifier | Constructor and Description |
---|---|
|
IVectorProxy()
Deprecated.
For internal use only
|
|
IVectorProxy(java.lang.Object obj)
Deprecated.
|
protected |
IVectorProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated.
|
|
IVectorProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
protected |
IVectorProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
IVector |
addVector(IVector otherVector)
Deprecated.
Construct a new vector by adding a different vector to this vector.
|
void |
constructAddVector(IVector vector1,
IVector vector2)
Deprecated.
Set this vector by adding two input vectors.
|
void |
constructSubtractVector(IVector vector1,
IVector vector2)
Deprecated.
Set this vector by subtracting the second input vector from the first one.
|
double |
dotProduct(IVector otherVector)
Deprecated.
Returns the dot product of this vector and another vector.
|
double |
getComponentByIndex(int componentIndex)
Deprecated.
The component corresponding to a given index.
|
int |
getDimension()
Deprecated.
The dimension of this vector.
|
double |
getMagnitude()
Deprecated.
The length of the vector.
|
boolean |
isEmpty()
Deprecated.
Indicates if the vector is empty (unset).
|
void |
normalize()
Deprecated.
Normalize the vector (scale it to magnitude = 1).
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated.
Removes a Java object as a listener to events generated by a COM object.
|
void |
scale(double scaleFactor)
Deprecated.
Scale the vector by the given factor.
|
void |
setComponentByIndex(int componentIndex,
double componentValue)
Deprecated.
The component corresponding to a given index.
|
void |
setEmpty()
Deprecated.
Makes the vector empty (unset).
|
void |
setMagnitude(double magnitude)
Deprecated.
The length of the vector.
|
IVector |
subtractVector(IVector otherVector)
Deprecated.
Construct a new vector by subtracting a different vector from this vector.
|
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
public static final java.lang.Class targetClass
public boolean noncastable
public IVectorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IVectorProxy()
public IVectorProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IVectorProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IVectorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public int getDimension() throws java.io.IOException, AutomationException
getDimension
in interface IVector
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEmpty() throws java.io.IOException, AutomationException
isEmpty
in interface IVector
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEmpty() throws java.io.IOException, AutomationException
setEmpty
in interface IVector
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getComponentByIndex(int componentIndex) throws java.io.IOException, AutomationException
getComponentByIndex
in interface IVector
componentIndex
- The componentIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setComponentByIndex(int componentIndex, double componentValue) throws java.io.IOException, AutomationException
setComponentByIndex
in interface IVector
componentIndex
- The componentIndex (in)componentValue
- The componentValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMagnitude() throws java.io.IOException, AutomationException
getMagnitude
in interface IVector
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMagnitude(double magnitude) throws java.io.IOException, AutomationException
setMagnitude
in interface IVector
magnitude
- The magnitude (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void normalize() throws java.io.IOException, AutomationException
normalize
in interface IVector
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void scale(double scaleFactor) throws java.io.IOException, AutomationException
scale
in interface IVector
scaleFactor
- The scaleFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVector addVector(IVector otherVector) throws java.io.IOException, AutomationException
addVector
in interface IVector
otherVector
- A reference to a com.esri.arcgis.geometry.IVector (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IVector subtractVector(IVector otherVector) throws java.io.IOException, AutomationException
subtractVector
in interface IVector
otherVector
- A reference to a com.esri.arcgis.geometry.IVector (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void constructAddVector(IVector vector1, IVector vector2) throws java.io.IOException, AutomationException
constructAddVector
in interface IVector
vector1
- A reference to a com.esri.arcgis.geometry.IVector (in)vector2
- A reference to a com.esri.arcgis.geometry.IVector (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void constructSubtractVector(IVector vector1, IVector vector2) throws java.io.IOException, AutomationException
constructSubtractVector
in interface IVector
vector1
- A reference to a com.esri.arcgis.geometry.IVector (in)vector2
- A reference to a com.esri.arcgis.geometry.IVector (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double dotProduct(IVector otherVector) throws java.io.IOException, AutomationException
dotProduct
in interface IVector
otherVector
- A reference to a com.esri.arcgis.geometry.IVector (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.