|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.Object
java.lang.CloneNotSupportedException
public void delete()
delete
in class PeObject
public java.lang.String getName()
getName
in class PeObject
public int getType()
getType
in class PeObject
public int getStatus()
getStatus
in class PeObject
public boolean isEqual(PeObject peobj)
isEqual
in class PeObject
public boolean isEqual(PeSpheroid spheroid)
public java.lang.String toString()
toString
in class PeObject
public java.lang.String toString(int mode)
toString
in class PeObject
public PeAuthority getAuth()
getAuth
in class PeObject
public void setAuth(PeAuthority authority)
setAuth
in class PeObject
public 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 |