|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.sde.sdk.pe.PeObject
com.esri.sde.sdk.pe.PeSpheroid
public final class PeSpheroid
This class defines the shape and size of a geographic coordinate system's surface. Although the Earth is best represented by an ellipsoid, the Earth is sometimes treated as a sphere to make mathematical calculations easier.
| Constructor Summary | |
|---|---|
PeSpheroid(java.lang.String str)
Constructor. |
|
PeSpheroid(java.lang.String name,
double axis,
double flattening)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone a spheroid. |
void |
delete()
Deconstructor. |
static PeSpheroid |
fromString(java.lang.String str)
Create a spheroid from a string. |
PeAuthority |
getAuth()
Retrieve a spheroid's authority. |
double |
getAxis()
Retrieve a spheroid's semi-major axis. |
int |
getCode()
|
double |
getFlattening()
Retrieve a spheroid's flattening. |
java.lang.String |
getName()
Retrieve a spheroid's name. |
int |
getStatus()
Get a spheroid's status. |
int |
getType()
Retrieve a spheroid's type. |
boolean |
isEqual(PeObject peobj)
Tests if two spheroids are identical. |
boolean |
isEqual(PeSpheroid spheroid)
|
void |
setAuth(PeAuthority authority)
Store an authority in a spheroid. |
java.lang.String |
toString()
Retrieve a spheroid's external representation. |
java.lang.String |
toString(int mode)
Retrieve a spheroid's extended external representation. |
| Methods inherited from class com.esri.sde.sdk.pe.PeObject |
|---|
fromAnyString, fromStringByType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PeSpheroid(java.lang.String name,
double axis,
double flattening)
throws PeProjectionException
PeProjectionException
public PeSpheroid(java.lang.String str)
throws PeProjectionException
PeProjectionException| Method Detail |
|---|
public static PeSpheroid fromString(java.lang.String str)
throws PeProjectionException
PeProjectionException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void delete()
delete in class PeObjectpublic java.lang.String getName()
getName in class PeObjectpublic int getType()
getType in class PeObjectpublic int getStatus()
getStatus in class PeObjectpublic boolean isEqual(PeObject peobj)
isEqual in class PeObjectpublic boolean isEqual(PeSpheroid spheroid)
public java.lang.String toString()
toString in class PeObjectpublic java.lang.String toString(int mode)
toString in class PeObjectpublic PeAuthority getAuth()
getAuth in class PeObjectpublic void setAuth(PeAuthority authority)
setAuth in class PeObjectpublic double getAxis()
public double getFlattening()
public int getCode()
getCode in class PeObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||