org.cresques.impl.geo.cover
Class Hoja

java.lang.Object
  extended by org.cresques.impl.geo.cover.Hoja
All Implemented Interfaces:
Projected

public class Hoja
extends Object
implements Projected

Author:
Luis W. Sevilla

Constructor Summary
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)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hoja

public Hoja(IProjection proj,
            String code,
            String name)

Hoja

public Hoja(String cod,
            Point2D p1,
            Point2D p2,
            Point2D p3,
            Point2D p4,
            String name)

Hoja

public Hoja(String cod,
            Point2D[] pt,
            String name)

Hoja

public Hoja(String cod,
            Vector pt,
            String name)

Hoja

public Hoja(String cod,
            Hoja h,
            String name)
Method Detail

getProjection

public IProjection getProjection()
Description copied from interface: Projected

Returns the current projection.

Specified by:
getProjection in interface Projected
Returns:
current projection
See Also:
Projected.reProject(ICoordTrans)

setProjection

public void setProjection(IProjection p)

reProject

public void reProject(ICoordTrans rp)
Description copied from interface: Projected

Changes projection of the graphical information of this object.

Specified by:
reProject in interface Projected
Parameters:
rp - transformation coordinates for obtaining the new projection
See Also:
Projected.getProjection()

getTL

public Point2D getTL()

setTL

public void setTL(Point2D pt)

getTR

public Point2D getTR()

setTR

public void setTR(Point2D pt)

getBL

public Point2D getBL()

setBL

public void setBL(Point2D pt)

getBR

public Point2D getBR()

setBR

public void setBR(Point2D pt)

getExtent

public Extent getExtent()

getCode

public String getCode()

getName

public String getName()

getVertex

public Point2D[] getVertex()

toXml

public void toXml(OutputStream os)

fromXml

public void fromXml(InputStream is)


Copyright © 2004-2013 gvSIG. All Rights Reserved.