|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.spatialanalyst.GPSAFuzzyFunction
public class GPSAFuzzyFunction
GeoProcessor Spatial Analyst fuzzy function object.
Constructor Summary | |
---|---|
GPSAFuzzyFunction()
Constructs a GPSAFuzzyFunction using ArcGIS Engine. |
|
GPSAFuzzyFunction(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPSAFuzzyFunction theGPSAFuzzyFunction = (GPSAFuzzyFunction) obj; |
Method Summary | |
---|---|
void |
addDataType(IGPDataType pDataType)
Adds the data type as a column to the value table. |
void |
addRecord(IArray pValues)
Adds a record to the value table. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
empty()
Clears the value object. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
String |
getAsText()
Provides the value of the value object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IGPDataType |
getDataType(int index)
The data type object of the given column index. |
int |
getDataTypeCount()
The number of data types/columns of the value table. |
void |
getDefaultFuzzyValues(int type,
IGPValue pInData,
double[] num1,
double[] num2)
Gets the default values of a fuzzy function |
IArray |
getRecord(int index)
Returns the array of values of the specified record in the value table. |
int |
getRecordCount()
The number of rows in the value table. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getType()
type of fuzzy function parameters. |
IGPValue |
getValue(int row,
int col)
Returns the value of the given row/column. |
int |
hashCode()
the hashcode for this object |
IGPDataType |
IGPValue_getDataType()
The data type of the value object. |
void |
insertRecord(int index,
IArray pValues)
Inserts a record in the value table at the specified index. |
void |
isDirty()
isDirty |
boolean |
isEmpty()
Indicates if the value object is empty. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeDataType(int index)
Removes the given column from the value table. |
void |
removeRecord(int index)
Removes the specified record from the value table. |
void |
removeValue(IGPValue pValue)
Removes the given value from the value table. |
void |
replaceRecord(int index,
IArray pValues)
Replaces the record in the value table at the specified index. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
IGPMessage |
setAsText(String text)
Provides the value of the value object with the given string value. |
void |
setDefault()
Sets default fuzzy function parameters. |
void |
setGaussian(double midPoint,
double spread)
Defines a Gaussion fuzzy function. |
void |
setLarge(double midPoint,
double spread)
Defines a Large fuzzy function. |
void |
setLinear(double minimum,
double maximum)
Defines a Linear fuzzy function. |
void |
setMSLarge(int nMeans,
int nSTDVs)
Defines a MSLarge fuzzy function. |
void |
setMSSmall(int nMeans,
int nSTDVs)
Defines a MSSmall fuzzy function. |
void |
setNear(double midPoint,
double spread)
Defines a Near fuzzy function. |
void |
setSmall(double midPoint,
double spread)
Defines a Small fuzzy function. |
void |
setValue(int row,
int col,
IGPValue ppValue)
Sets the vlaue of the given row/column. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GPSAFuzzyFunction() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPSAFuzzyFunction(Object obj) throws IOException
GPSAFuzzyFunction theGPSAFuzzyFunction = (GPSAFuzzyFunction) obj;
obj
to GPSAFuzzyFunction
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IGPDataType IGPValue_getDataType() throws IOException, AutomationException
IGPValue_getDataType
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEmpty() throws IOException, AutomationException
The IsEmpty method returns if this Value object has been set or not.
isEmpty
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws IOException, AutomationException
The Empty method clears this Value object and releases any associated objects.
empty
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAsText() throws IOException, AutomationException
The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.
getAsText
in interface IGPValue
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessage setAsText(String text) throws IOException, AutomationException
The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.
setAsText
in interface IGPValue
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws IOException, AutomationException
getType
in interface IGPSAFuzzyFunction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefault() throws IOException, AutomationException
setDefault
in interface IGPSAFuzzyFunction
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGaussian(double midPoint, double spread) throws IOException, AutomationException
setGaussian
in interface IGPSAFuzzyFunction
midPoint
- The midPoint (in)spread
- The spread (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSmall(double midPoint, double spread) throws IOException, AutomationException
setSmall
in interface IGPSAFuzzyFunction
midPoint
- The midPoint (in)spread
- The spread (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLarge(double midPoint, double spread) throws IOException, AutomationException
setLarge
in interface IGPSAFuzzyFunction
midPoint
- The midPoint (in)spread
- The spread (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNear(double midPoint, double spread) throws IOException, AutomationException
setNear
in interface IGPSAFuzzyFunction
midPoint
- The midPoint (in)spread
- The spread (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMSSmall(int nMeans, int nSTDVs) throws IOException, AutomationException
setMSSmall
in interface IGPSAFuzzyFunction
nMeans
- The nMeans (in)nSTDVs
- The nSTDVs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMSLarge(int nMeans, int nSTDVs) throws IOException, AutomationException
setMSLarge
in interface IGPSAFuzzyFunction
nMeans
- The nMeans (in)nSTDVs
- The nSTDVs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinear(double minimum, double maximum) throws IOException, AutomationException
setLinear
in interface IGPSAFuzzyFunction
minimum
- The minimum (in)maximum
- The maximum (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getDefaultFuzzyValues(int type, IGPValue pInData, double[] num1, double[] num2) throws IOException, AutomationException
getDefaultFuzzyValues
in interface IGPSAFuzzyFunction
type
- A com.esri.arcgis.spatialanalyst.esriSAFuzzyFunctionEnum constant (in)pInData
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)num1
- The num1 (out: use single element array)num2
- The num2 (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataTypeCount() throws IOException, AutomationException
getDataTypeCount
in interface IGPValueTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPDataType getDataType(int index) throws IOException, AutomationException
getDataType
in interface IGPValueTable
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDataType(IGPDataType pDataType) throws IOException, AutomationException
addDataType
in interface IGPValueTable
pDataType
- A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeDataType(int index) throws IOException, AutomationException
removeDataType
in interface IGPValueTable
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRecordCount() throws IOException, AutomationException
getRecordCount
in interface IGPValueTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPValue getValue(int row, int col) throws IOException, AutomationException
getValue
in interface IGPValueTable
row
- The row (in)col
- The col (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int row, int col, IGPValue ppValue) throws IOException, AutomationException
setValue
in interface IGPValueTable
row
- The row (in)col
- The col (in)ppValue
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addRecord(IArray pValues) throws IOException, AutomationException
addRecord
in interface IGPValueTable
pValues
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertRecord(int index, IArray pValues) throws IOException, AutomationException
insertRecord
in interface IGPValueTable
index
- The index (in)pValues
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceRecord(int index, IArray pValues) throws IOException, AutomationException
replaceRecord
in interface IGPValueTable
index
- The index (in)pValues
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeRecord(int index) throws IOException, AutomationException
removeRecord
in interface IGPValueTable
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getRecord(int index) throws IOException, AutomationException
getRecord
in interface IGPValueTable
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeValue(IGPValue pValue) throws IOException, AutomationException
removeValue
in interface IGPValueTable
pValue
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |