|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geometry.PrimeMeridian
public class PrimeMeridian
Creates a prime meridian.
The IClone::IsIdentical method is not implemented.
| Constructor Summary | |
|---|---|
PrimeMeridian()
Constructs a PrimeMeridian using ArcGIS Engine. |
|
PrimeMeridian(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PrimeMeridian thePrimeMeridian = (PrimeMeridian) obj; |
|
| Method Summary | |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
define(Object name,
Object alias,
Object abbreviation,
Object remarks,
Object longitude)
Defines the properties of the prime meridian. |
void |
define(String authorityName,
int authorityCode,
String authorityVersion)
Defines the authority-related metadata properties for this spatial reference object. |
void |
defineEx(String name,
String alias,
String abbreviation,
String remarks,
double[] longitude)
Defines the properties of the prime meridian. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
exportToESRISpatialReference(String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer. |
void |
exportToESRISpatialReference2(String[] str,
int[] cBytesWrote)
Exports this spatial reference component to a buffer. |
String |
getAbbreviation()
The abbreviated name of this spatial reference component. |
String |
getAlias()
The alias of this spatial reference component. |
String |
getAuthorityName()
The name of the defining authority for this object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCode()
The code identifying this object relative to its authority. |
int |
getESRISpatialReferenceSize()
The number of bytes required to hold the persistant representation of this spatial reference component. |
int |
getFactoryCode()
The factory code (WKID) of the spatial reference. |
double |
getLongitude()
The longitude value of this prime meridian. |
String |
getName()
The name of this spatial reference component. |
String |
getRemarks()
The comment string of this spatial reference component. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getVersion()
The version of this spatial reference object. |
int |
hashCode()
the hashcode for this object |
void |
importFromESRISpatialReference(String str,
int[] cBytesRead)
Defines this spatial reference component from the specified ESRISpatialReference buffer. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
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. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
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 PrimeMeridian()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public PrimeMeridian(Object obj)
throws IOException
PrimeMeridian thePrimeMeridian = (PrimeMeridian) obj;
obj to PrimeMeridian.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getESRISpatialReferenceSize()
throws IOException,
AutomationException
getESRISpatialReferenceSize in interface IESRISpatialReferencegetESRISpatialReferenceSize in interface IESRISpatialReferenceGENgetESRISpatialReferenceSize in interface IESRISpatialReferenceGEN2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void importFromESRISpatialReference(String str,
int[] cBytesRead)
throws IOException,
AutomationException
importFromESRISpatialReference in interface IESRISpatialReferenceimportFromESRISpatialReference in interface IESRISpatialReferenceGENimportFromESRISpatialReference in interface IESRISpatialReferenceGEN2str - The str (in)cBytesRead - The cBytesRead (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportToESRISpatialReference(String[] str,
int[] cBytesWrote)
throws IOException,
AutomationException
exportToESRISpatialReference in interface IESRISpatialReferenceexportToESRISpatialReference in interface IESRISpatialReferenceGENstr - The str (out: use single element array)cBytesWrote - The cBytesWrote (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportToESRISpatialReference2(String[] str,
int[] cBytesWrote)
throws IOException,
AutomationException
exportToESRISpatialReference2 in interface IESRISpatialReferenceGEN2str - The str (out: use single element array)cBytesWrote - The cBytesWrote (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLongitude()
throws IOException,
AutomationException
Returns the longitude value of a prime meridian. The longitude value is defined in degrees relative to Greenwich.
getLongitude in interface IPrimeMeridianIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
getName in interface ISpatialReferenceInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAlias()
throws IOException,
AutomationException
getAlias in interface ISpatialReferenceInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAbbreviation()
throws IOException,
AutomationException
getAbbreviation in interface ISpatialReferenceInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getRemarks()
throws IOException,
AutomationException
getRemarks in interface ISpatialReferenceInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFactoryCode()
throws IOException,
AutomationException
The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.
getFactoryCode in interface ISpatialReferenceInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void defineEx(String name,
String alias,
String abbreviation,
String remarks,
double[] longitude)
throws IOException,
AutomationException
defineEx in interface IPrimeMeridianEditname - The name (in)alias - The alias (in)abbreviation - The abbreviation (in)remarks - The remarks (in)longitude - The longitude (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void define(Object name,
Object alias,
Object abbreviation,
Object remarks,
Object longitude)
throws IOException,
AutomationException
Use the Define method of IPrimeMeridianEdit to set the properties of a prime meridian. The longitude parameter is defined in degrees relative to Greenwich.
define in interface IPrimeMeridianEditname - A Variant (in, optional, pass null if not required)alias - A Variant (in, optional, pass null if not required)abbreviation - A Variant (in, optional, pass null if not required)remarks - A Variant (in, optional, pass null if not required)longitude - A Variant (in, optional, pass null if not required)
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 ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - 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 ICloneother - 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 ICloneother - 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 void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - 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 isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAuthorityName()
throws IOException,
AutomationException
getAuthorityName in interface ISpatialReferenceAuthorityIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getVersion()
throws IOException,
AutomationException
getVersion in interface ISpatialReferenceAuthorityIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCode()
throws IOException,
AutomationException
getCode in interface ISpatialReferenceAuthorityIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void define(String authorityName,
int authorityCode,
String authorityVersion)
throws IOException,
AutomationException
define in interface ISpatialReferenceAuthorityauthorityName - The authorityName (in)authorityCode - The authorityCode (in)authorityVersion - The authorityVersion (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||