Constructor and Description |
---|
Hoja(IProjection proj,
String code,
String name) |
Hoja(String cod,
Hoja h,
String name) |
Hoja(String cod,
Point2D[] pt,
String name) |
Hoja(String cod,
Point2D p1,
Point2D p2,
Point2D p3,
Point2D p4,
String name) |
Hoja(String cod,
Vector pt,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
fromXml(InputStream is) |
Point2D |
getBL() |
Point2D |
getBR() |
String |
getCode() |
Extent |
getExtent() |
String |
getName() |
IProjection |
getProjection()
Returns the current projection.
|
Point2D |
getTL() |
Point2D |
getTR() |
Point2D[] |
getVertex() |
void |
reProject(ICoordTrans rp)
Changes projection of the graphical information of this object.
|
void |
setBL(Point2D pt) |
void |
setBR(Point2D pt) |
void |
setProjection(IProjection p) |
void |
setTL(Point2D pt) |
void |
setTR(Point2D pt) |
void |
toXml(OutputStream os) |
public Hoja(IProjection proj, String code, 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 Point2D getTL()
public void setTL(Point2D pt)
public Point2D getTR()
public void setTR(Point2D pt)
public Point2D getBL()
public void setBL(Point2D pt)
public Point2D getBR()
public void setBR(Point2D pt)
public Extent getExtent()
public String getCode()
public String getName()
public Point2D[] getVertex()
public void toXml(OutputStream os)
public void fromXml(InputStream is)