public interface IVector
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID40d717c9_10c2_11d4_9f59_00c04f6bdf0d |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
IVector |
addVector(IVector otherVector)
Construct a new vector by adding a different vector to this vector.
|
void |
constructAddVector(IVector vector1,
IVector vector2)
Set this vector by adding two input vectors.
|
void |
constructSubtractVector(IVector vector1,
IVector vector2)
Set this vector by subtracting the second input vector from the first one.
|
double |
dotProduct(IVector otherVector)
Returns the dot product of this vector and another vector.
|
double |
getComponentByIndex(int componentIndex)
The component corresponding to a given index.
|
int |
getDimension()
The dimension of this vector.
|
double |
getMagnitude()
The length of the vector.
|
boolean |
isEmpty()
Indicates if the vector is empty (unset).
|
void |
normalize()
Normalize the vector (scale it to magnitude = 1).
|
void |
scale(double scaleFactor)
Scale the vector by the given factor.
|
void |
setComponentByIndex(int componentIndex,
double componentValue)
The component corresponding to a given index.
|
void |
setEmpty()
Makes the vector empty (unset).
|
void |
setMagnitude(double magnitude)
The length of the vector.
|
IVector |
subtractVector(IVector otherVector)
Construct a new vector by subtracting a different vector from this vector.
|
static final int IID40d717c9_10c2_11d4_9f59_00c04f6bdf0d
static final int xxDummy
static final java.lang.String IID
int getDimension() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isEmpty() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setEmpty() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getComponentByIndex(int componentIndex) throws java.io.IOException, AutomationException
componentIndex
- The componentIndex (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setComponentByIndex(int componentIndex, double componentValue) throws java.io.IOException, AutomationException
componentIndex
- The componentIndex (in)componentValue
- The componentValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double getMagnitude() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setMagnitude(double magnitude) throws java.io.IOException, AutomationException
magnitude
- The magnitude (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void normalize() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void scale(double scaleFactor) throws java.io.IOException, AutomationException
scaleFactor
- The scaleFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IVector addVector(IVector otherVector) throws java.io.IOException, AutomationException
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.IVector subtractVector(IVector otherVector) throws java.io.IOException, AutomationException
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.void constructAddVector(IVector vector1, IVector vector2) throws java.io.IOException, AutomationException
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.void constructSubtractVector(IVector vector1, IVector vector2) throws java.io.IOException, AutomationException
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.double dotProduct(IVector otherVector) throws java.io.IOException, AutomationException
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.