Constructor and Description |
---|
Hoja(IProjection proj,
java.lang.String code,
java.lang.String name) |
Hoja(java.lang.String cod,
Hoja h,
java.lang.String name) |
Hoja(java.lang.String cod,
java.awt.geom.Point2D[] pt,
java.lang.String name) |
Hoja(java.lang.String cod,
java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3,
java.awt.geom.Point2D p4,
java.lang.String name) |
Hoja(java.lang.String cod,
java.util.Vector pt,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
fromXml(java.io.InputStream is) |
java.awt.geom.Point2D |
getBL() |
java.awt.geom.Point2D |
getBR() |
java.lang.String |
getCode() |
Extent |
getExtent() |
java.lang.String |
getName() |
IProjection |
getProjection()
Returns the current projection.
|
java.awt.geom.Point2D |
getTL() |
java.awt.geom.Point2D |
getTR() |
java.awt.geom.Point2D[] |
getVertex() |
void |
reProject(ICoordTrans rp)
Changes projection of the graphical information of this object.
|
void |
setBL(java.awt.geom.Point2D pt) |
void |
setBR(java.awt.geom.Point2D pt) |
void |
setProjection(IProjection p) |
void |
setTL(java.awt.geom.Point2D pt) |
void |
setTR(java.awt.geom.Point2D pt) |
void |
toXml(java.io.OutputStream os) |
public Hoja(IProjection proj, java.lang.String code, java.lang.String name)
public Hoja(java.lang.String cod, java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.geom.Point2D p3, java.awt.geom.Point2D p4, java.lang.String name)
public Hoja(java.lang.String cod, java.awt.geom.Point2D[] pt, java.lang.String name)
public Hoja(java.lang.String cod, java.util.Vector pt, java.lang.String name)
public Hoja(java.lang.String cod, Hoja h, java.lang.String name)
public IProjection getProjection()
Projected
Returns the current projection.
getProjection
in interface Projected
Projected.reProject(ICoordTrans)
public void setProjection(IProjection p)
public void reProject(ICoordTrans rp)
Projected
Changes projection of the graphical information of this object.
reProject
in interface Projected
rp
- transformation coordinates for obtaining the new projectionProjected.getProjection()
public java.awt.geom.Point2D getTL()
public void setTL(java.awt.geom.Point2D pt)
public java.awt.geom.Point2D getTR()
public void setTR(java.awt.geom.Point2D pt)
public java.awt.geom.Point2D getBL()
public void setBL(java.awt.geom.Point2D pt)
public java.awt.geom.Point2D getBR()
public void setBR(java.awt.geom.Point2D pt)
public Extent getExtent()
public java.lang.String getCode()
public java.lang.String getName()
public java.awt.geom.Point2D[] getVertex()
public void toXml(java.io.OutputStream os)
public void fromXml(java.io.InputStream is)