|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.graphics.Coord
com.partnersoft.v3x.graphics.Coord2D
com.partnersoft.v3x.graphics.Coord3D
com.partnersoft.v3x.apps.MapBrowser.SheetCoord
public class SheetCoord
A SheetCoord is a 4-dimensional coordinate or offset in a single map's "sheet" (displayable picture) space. Dimensions 1-3 are the usual x, y, and z, dimension 4 is s (scale).
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
coords |
| Constructor Summary | |
|---|---|
SheetCoord()
Creates a new, blank SheetCoord. |
|
SheetCoord(double x,
double y,
double z,
int s)
Create a new SheetCoord for (x, y, z, s, c). |
|
SheetCoord(double x,
double y,
double z,
int s,
java.lang.String content)
Create a new SheetCoord for (x, y, z, s, c). |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the sheetCoord. |
protected void |
copyState(SheetCoord from)
Copies contents from another SheetCoord. |
boolean |
equals(java.lang.Object nother)
|
java.lang.String |
getContent()
|
int |
getS()
The scale number of the sheet. |
int |
hashCode()
Hash value for the object. |
void |
setContent(java.lang.String newContent)
|
void |
setS(double newScale)
Sets the scale number of the sheet. |
java.lang.String |
toString()
Returns a textual version of the coordinate. |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord3D |
|---|
getZ, setZ, toXyPoint, toXyzPoint |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord2D |
|---|
getX, getY, setX, setY |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
at, copyState, distance, getCoords, getDimensions, round, setCoords, stretch, translate, truncate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SheetCoord()
public SheetCoord(double x,
double y,
double z,
int s,
java.lang.String content)
public SheetCoord(double x,
double y,
double z,
int s)
| Method Detail |
|---|
public int hashCode()
Coord
hashCode in class Coordpublic boolean equals(java.lang.Object nother)
equals in class Coordpublic java.lang.String toString()
toString in class Coordpublic java.lang.Object clone()
clone in class Coord3Dprotected void copyState(SheetCoord from)
public int getS()
public void setS(double newScale)
public java.lang.String getContent()
public void setContent(java.lang.String newContent)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||