|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.projection.Projection
com.partnersoft.geometry.projection.Simple
public class Simple
A simple scaling/offsetting projection.
Copyright 2003 Partner Software, Inc.
| Constructor Summary | |
|---|---|
Simple(Cog newState)
|
|
| Method Summary | |
|---|---|
double |
getOffsetX()
Gets the value of offsetX |
double |
getOffsetY()
Gets the value of offsetY |
double |
getScaleX()
Gets the value of scaleX |
double |
getScaleY()
Gets the value of scaleY |
void |
project(Point point)
Project from latlong to xy. |
void |
reverse(Point point)
Reverse project from xy to latlong. |
void |
setOffsetX(double argOffsetX)
Sets the value of offsetX |
void |
setOffsetY(double argOffsetY)
Sets the value of offsetY |
void |
setScaleX(double argScaleX)
Sets the value of scaleX |
void |
setScaleY(double argScaleY)
Sets the value of scaleY |
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
| Methods inherited from class com.partnersoft.geometry.projection.Projection |
|---|
getName, project, project, project, project, projectFeet, projectFeet, projectFeet, projectFeet, projectFeet, reverse, reverse, reverse, reverse, reverseFeet, reverseFeet, reverseFeet, reverseFeet, reverseFeet, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Simple(Cog newState)
| Method Detail |
|---|
public void reverse(Point point)
Projection
reverse in class Projectionpublic void project(Point point)
Projection
project in class Projectionpublic Cog toCog()
CoggableCog.
public double getOffsetX()
public void setOffsetX(double argOffsetX)
argOffsetX - Value to assign to this.offsetXpublic double getOffsetY()
public void setOffsetY(double argOffsetY)
argOffsetY - Value to assign to this.offsetYpublic double getScaleX()
public void setScaleX(double argScaleX)
argScaleX - Value to assign to this.scaleXpublic double getScaleY()
public void setScaleY(double argScaleY)
argScaleY - Value to assign to this.scaleY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||