bd09togcj02 static method
Implementation
static Coords bd09togcj02(Coords coords) {
final double x = coords.longitude - 0.0065;
final double y = coords.latitude - 0.006;
final double z = sqrt(x * x + y * y) - 0.00002 * sin(y * _xPi);
final double theta = atan2(y, x) - 0.000003 * cos(x * _xPi);
final double ggLng = z * cos(theta);
final double ggLat = z * sin(theta);
return Coords(ggLat, ggLng);
}