Revision 207 org.gvsig.projection/trunk/org.gvsig.projection.api/src/main/java/org/cresques/cts/IProjection.java

View differences:

IProjection.java
74 74

  
75 75
    public boolean isProjected();
76 76

  
77
    /**
78
     * First two parameters must be in meters.
79
     * This should be changed (map units should be used) and then
80
     * change the places where this method is used.
81
     * 
82
     * @param minX in meters
83
     * @param maxX in meters
84
     * @param width in pixels (dots)
85
     * @param dpi dots per inch
86
     * @return Scale denominator ( the "X" in "1 : X" )
87
     */
77 88
    public double getScale(double minX, double maxX, double width, double dpi);
89
    
78 90
    public Rectangle2D getExtent(Rectangle2D extent,double scale,double wImage,double hImage,double mapUnits,double distanceUnits,double dpi);
79 91
}

Also available in: Unified diff