类 Reproject


  • public class Reproject
    extends java.lang.Object
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • Reproject

        public Reproject()
    • 方法详细资料

      • reprojectPoint

        public static PointD reprojectPoint​(double x,
                                            double y,
                                            ProjectionInfo source,
                                            ProjectionInfo dest)
        Reproject a point
        参数:
        x - X
        y - Y
        source - Source projection info
        dest - Destination projection info
        返回:
        Projected point
      • reprojectPoint

        public static PointD reprojectPoint​(PointD point,
                                            ProjectionInfo source,
                                            ProjectionInfo dest)
        Reproject a point
        参数:
        point - The point
        source - Source projection info
        dest - Destination projection info
        返回:
        Projected point
      • reprojectPoints

        public static void reprojectPoints​(double[][] points,
                                           ProjectionInfo source,
                                           ProjectionInfo dest)
        Reproject a point
        参数:
        points - The points
        source - Source projection info
        dest - Destination projection info
      • reprojectPoints

        public static void reprojectPoints​(double[][] points,
                                           ProjectionInfo source,
                                           ProjectionInfo dest,
                                           int startIndex,
                                           int numPoints)
        Reproject points
        参数:
        points - The points
        source - Source projection info
        dest - Destination projection info
        startIndex - Start index
        numPoints - Point number