public static double Proj_xy_dist(double x0, double y0, double x1, double y1) { PJ_COORD p1 = new PJ_COORD(x0, y0); PJ_COORD p2 = new PJ_COORD(x1, y1); double d = proj_xy_dist(p1, p2); return(d); }
public static double Proj_lp_dist(IntPtr PJ, double x0, double y0, double x1, double y1) { PJ_COORD p1 = new PJ_COORD(x0, y0); PJ_COORD p2 = new PJ_COORD(x1, y1); double d = proj_lpz_dist(PJ, p1, p2); return(d); }
public static extern PJ_COORD proj_trans(IntPtr Proj, PJ_DIRECTION direction, PJ_COORD coord);
static extern double proj_xy_dist(PJ_COORD a, PJ_COORD b);
static extern double proj_lpz_dist(IntPtr P, PJ_COORD a, PJ_COORD b);