|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geometry.Projection
public class Projection
Creates a map projection.
A Projection object encapsulates the mathematics needed to convert geographic coordinates between two different coordinate systems. A projection is a component of a projected coordinate system and is not usually used directly. Rather, a projected cooordinate system is defined and used to project cooordinates.
| Constructor Summary | |
|---|---|
Projection()
Constructs a Projection using ArcGIS Engine. |
|
Projection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Projection theProjection = (Projection) obj; |
|
| Method Summary | |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
define(String authorityName,
int authorityCode,
String authorityVersion)
Defines the authority-related metadata properties for this spatial reference object. |
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 |
String |
getClassification()
The classification of a map projection. |
static String |
getClsid()
getClsid. |
int |
getCode()
The code identifying this object relative to its authority. |
IParameter[] |
getDefaultParameters()
Safearray wrapper for returning the set of default parameters needed for this projection. |
void |
getDefaultParameters(IParameter parameters)
Returns the set of default parameters needed for this projection. |
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. |
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 |
getUsage()
The usage notes of a map projection. |
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 Projection()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public Projection(Object obj)
throws IOException
Projection theProjection = (Projection) obj;
obj to Projection.
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 String getUsage()
throws IOException,
AutomationException
getUsage in interface IProjectiongetUsage in interface IProjectionGENIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getClassification()
throws IOException,
AutomationException
getClassification in interface IProjectiongetClassification in interface IProjectionGENIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IParameter[] getDefaultParameters()
throws IOException,
AutomationException
Each map projection has a particular set of parameters that it expects. Use GetDefaultParameters to return a list of the parameters. Every map projection supports FalseEasting and FalseNorthing. The other parameters are listed below.
Aitoff
CentralMeridian
Albers
CentralMeridian
StandardParallel1
StandardParallel2
LatitudeOfOrigin
Azimuthal_Equidistant
CentralMeridian
LatitudeOfOrigin
Behrmann
CentralMeridian
Bonne
CentralMeridian
StandardParallel1
Cassini
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Craster_Parabolic
CentralMeridian
Cylindrical_Equal_Area
CentralMeridian
StandardParallel1
Double_Stereographic
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Eckert_I
CentralMeridian
Eckert_II
CentralMeridian
Eckert_III
CentralMeridian
Eckert_IV
CentralMeridian
Eckert_V
CentralMeridian
Eckert_VI
CentralMeridian
Equidistant_Conic
CentralMeridian
StandardParallel1
StandardParallel2
LatitudeOfOrigin
Equidistant_Cylindrical
CentralMeridian
StandardParallel1
Flat_Polar_Quartic
CentralMeridian
Gall_Stereographic
CentralMeridian
Gauss_Kruger
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Gnomonic
LongitudeOfCenter
LatitudeOfCenter
Hammer_Aitoff
CentralMeridian
Hotine_Oblique_Mercator_Azimuth_Center
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Hotine_Oblique_Mercator_Azimuth_Natural_Origin
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Hotine_Oblique_Mercator_Two_Point_Center
LatitudeOf1st
LatitudeOf2nd
ScaleFactor
LongitudeOf1st
LongitudeOf2nd
LatitudeOfCenter
Hotine_Oblique_Mercator_Two_Point_Natural_Origin
LatitudeOf1st
LatitudeOf2nd
ScaleFactor
LongitudeOf1st
LongitudeOf2nd
LatitudeOfCenter
Krovak
PseudoStandardParallel1
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
XScaleFactor
YScaleFactor
Rotation
Lambert_Azimuthal_Equal_Area
CentralMeridian
LatitudeOfOrigin
Lambert_Conformal_Conic
CentralMeridian
StandardParallel1
StandardParallel2
ScaleFactor
LatitudeOfOrigin
Local
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Loximuthal
CentralMeridian
CentralParallel
Mercator
CentralMeridian
StandardParallel1
Miller_Cylindrical
CentralMeridian
Mollweide
CentralMeridian
New_Zealand_Map_Grid
LongitudeOfOrigin
LatitudeOfOrigin
Orthographic
LongitudeOfCenter
LatitudeOfCenter
Plate_Carree
CentralMeridian
Polyconic
CentralMeridian
LatitudeOfOrigin
Quartic_Authalic
CentralMeridian
Rectified_Skew_Orthomorphic_Center
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Rotation
Rectified_Skew_Orthomorphic_Natural_Origin
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Rotation
Robinson
CentralMeridian
Robinson_ARC_INFO
CentralMeridian
Sinusoidal
CentralMeridian
Stereographic
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Stereographic_North_Pole
CentralMeridian
StandardParallel1
Stereographic_South_Pole
CentralMeridian
StandardParallel1
Times
CentralMeridian
Transverse_Mercator
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Transverse_Mercator_Complex
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Two_Point_Equidistant
LatitudeOf1st
LatitudeOf2nd
LongitudeOf1st
LongitudeOf2nd
Van_der_Grinten_I
CentralMeridian
Vertical_Near_Side_Perspective
LongitudeOfCenter
LatitudeOfCenter
Height
Winkel_I
CentralMeridian
StandardParallel1
Winkel_II
CentralMeridian
StandardParallel1
Winkel_Tripel
CentralMeridian
StandardParallel1
getDefaultParameters in interface IProjectionGENIOException - 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 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 void getDefaultParameters(IParameter parameters)
throws IOException,
AutomationException
Each map projection has a particular set of parameters that it expects. Use GetDefaultParameters to return a list of the parameters. Every map projection supports the FalseEasting and FalseNorthing parameters. The other parameters are in the below list.
Aitoff
CentralMeridian
Albers
CentralMeridian
StandardParallel1
StandardParallel2
LatitudeOfOrigin
Azimuthal_Equidistant
CentralMeridian
LatitudeOfOrigin
Behrmann
CentralMeridian
Bonne
CentralMeridian
StandardParallel1
Cassini
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Craster_Parabolic
CentralMeridian
Cylindrical_Equal_Area
CentralMeridian
StandardParallel1
Double_Stereographic
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Eckert_I
CentralMeridian
Eckert_II
CentralMeridian
Eckert_III
CentralMeridian
Eckert_IV
CentralMeridian
Eckert_V
CentralMeridian
Eckert_VI
CentralMeridian
Equidistant_Conic
CentralMeridian
StandardParallel1
StandardParallel2
LatitudeOfOrigin
Equidistant_Cylindrical
CentralMeridian
StandardParallel1
Flat_Polar_Quartic
CentralMeridian
Gall_Stereographic
CentralMeridian
Gauss_Kruger
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Gnomonic
LongitudeOfCenter
LatitudeOfCenter
Hammer_Aitoff
CentralMeridian
Hotine_Oblique_Mercator_Azimuth_Center
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Hotine_Oblique_Mercator_Azimuth_Natural_Origin
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Hotine_Oblique_Mercator_Two_Point_Center
LatitudeOf1st
LatitudeOf2nd
ScaleFactor
LongitudeOf1st
LongitudeOf2nd
LatitudeOfCenter
Hotine_Oblique_Mercator_Two_Point_Natural_Origin
LatitudeOf1st
LatitudeOf2nd
ScaleFactor
LongitudeOf1st
LongitudeOf2nd
LatitudeOfCenter
Krovak
PseudoStandardParallel1
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
XScaleFactor
YScaleFactor
Rotation
Lambert_Azimuthal_Equal_Area
CentralMeridian
LatitudeOfOrigin
Lambert_Conformal_Conic
CentralMeridian
StandardParallel1
StandardParallel2
ScaleFactor
LatitudeOfOrigin
Local
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Loximuthal
CentralMeridian
CentralParallel
Mercator
CentralMeridian
StandardParallel1
Miller_Cylindrical
CentralMeridian
Mollweide
CentralMeridian
New_Zealand_Map_Grid
LongitudeOfOrigin
LatitudeOfOrigin
Orthographic
LongitudeOfCenter
LatitudeOfCenter
Plate_Carree
CentralMeridian
Polyconic
CentralMeridian
LatitudeOfOrigin
Quartic_Authalic
CentralMeridian
Rectified_Skew_Orthomorphic_Center
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Rotation
Rectified_Skew_Orthomorphic_Natural_Origin
ScaleFactor
Azimuth
LongitudeOfCenter
LatitudeOfCenter
Rotation
Robinson
CentralMeridian
Robinson_ARC_INFO
CentralMeridian
Sinusoidal
CentralMeridian
Stereographic
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Stereographic_North_Pole
CentralMeridian
StandardParallel1
Stereographic_South_Pole
CentralMeridian
StandardParallel1
Times
CentralMeridian
Transverse_Mercator
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Transverse_Mercator_Complex
CentralMeridian
ScaleFactor
LatitudeOfOrigin
Two_Point_Equidistant
LatitudeOf1st
LatitudeOf2nd
LongitudeOf1st
LongitudeOf2nd
Van_der_Grinten_I
CentralMeridian
Vertical_Near_Side_Perspective
LongitudeOfCenter
LatitudeOfCenter
Height
Winkel_I
CentralMeridian
StandardParallel1
Winkel_II
CentralMeridian
StandardParallel1
Winkel_Tripel
CentralMeridian
StandardParallel1
getDefaultParameters in interface IProjectionparameters - A reference to a com.esri.arcgis.geometry.IParameter (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 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 | ||||||||