| java.lang.Object org.geotools.renderer.shape.GeometryHandlerUtilities
GeometryHandlerUtilities | public class GeometryHandlerUtilities (Code) | | Useful methods common to all geometry handlers
author: jeichar since: 2.1.x |
calculateScreenSize | public static ScreenMap calculateScreenSize(Rectangle screenSize, boolean hasOpacity) throws TransformException, NoninvertibleTransformException(Code) | | |
calculateSpan | public static Point2D calculateSpan(MathTransform mt, int x, int y) throws NoninvertibleTransformException, TransformException(Code) | | calculates the distance between the centers of the two pixels at x,y
Parameters: mt - the transform to use to calculate the centers. Parameters: x - the x coordinate at which to make the calculation Parameters: y - the y coordinate at which to make the calculation a point whose x coord it the distance in world coordinates between x-0.5 and x+0.5 and the y is the span around the y point. throws: NoninvertibleTransformException - throws: TransformException - |
readBounds | public static Envelope readBounds(ByteBuffer buffer)(Code) | | DOCUMENT ME!
Parameters: buffer - |
transform | public static void transform(ShapeType type, MathTransform mt, double[] src, double[] dest) throws TransformException(Code) | | |
|
|