public class org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator implements org.locationtech.spatial4j.distance.DistanceCalculator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator
super_class: java.lang.Object
{
protected final org.apache.lucene.spatial3d.geom.PlanetModel planetModel;
descriptor: Lorg/apache/lucene/spatial3d/geom/PlanetModel;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.apache.lucene.spatial3d.geom.PlanetModel);
descriptor: (Lorg/apache/lucene/spatial3d/geom/PlanetModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 3 1 planetModel Lorg/apache/lucene/spatial3d/geom/PlanetModel;
MethodParameters:
Name Flags
planetModel
public double distance(org.locationtech.spatial4j.shape.Point, org.locationtech.spatial4j.shape.Point);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;Lorg/locationtech/spatial4j/shape/Point;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.apache.lucene.spatial.spatial4j.Geo3dPointShape
ifeq 4
aload 2
instanceof org.apache.lucene.spatial.spatial4j.Geo3dPointShape
ifeq 4
1: aload 1
checkcast org.apache.lucene.spatial.spatial4j.Geo3dPointShape
getfield org.apache.lucene.spatial.spatial4j.Geo3dPointShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
checkcast org.apache.lucene.spatial3d.geom.GeoPointShape
astore 3
start local 3 2: aload 2
checkcast org.apache.lucene.spatial.spatial4j.Geo3dPointShape
getfield org.apache.lucene.spatial.spatial4j.Geo3dPointShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
checkcast org.apache.lucene.spatial3d.geom.GeoPointShape
astore 4
start local 4 3: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 3
invokeinterface org.apache.lucene.spatial3d.geom.GeoPointShape.getCenter:()Lorg/apache/lucene/spatial3d/geom/GeoPoint;
aload 4
invokeinterface org.apache.lucene.spatial3d.geom.GeoPointShape.getCenter:()Lorg/apache/lucene/spatial3d/geom/GeoPoint;
invokevirtual org.apache.lucene.spatial3d.geom.PlanetModel.surfaceDistance:(Lorg/apache/lucene/spatial3d/geom/GeoPoint;Lorg/apache/lucene/spatial3d/geom/GeoPoint;)D
ldc 57.29577951308232
dmul
dreturn
end local 4 end local 3 4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
aload 2
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.distance:(Lorg/locationtech/spatial4j/shape/Point;DD)D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 5 1 from Lorg/locationtech/spatial4j/shape/Point;
0 5 2 to Lorg/locationtech/spatial4j/shape/Point;
2 4 3 pointShape1 Lorg/apache/lucene/spatial3d/geom/GeoPointShape;
3 4 4 pointShape2 Lorg/apache/lucene/spatial3d/geom/GeoPointShape;
MethodParameters:
Name Flags
from
to
public double distance(org.locationtech.spatial4j.shape.Point, double, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
instanceof org.apache.lucene.spatial.spatial4j.Geo3dPointShape
ifeq 3
1: aload 1
checkcast org.apache.lucene.spatial.spatial4j.Geo3dPointShape
getfield org.apache.lucene.spatial.spatial4j.Geo3dPointShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
checkcast org.apache.lucene.spatial3d.geom.GeoPointShape
invokeinterface org.apache.lucene.spatial3d.geom.GeoPointShape.getCenter:()Lorg/apache/lucene/spatial3d/geom/GeoPoint;
astore 6
start local 6 2: goto 7
end local 6 3: StackMap locals:
StackMap stack:
new org.apache.lucene.spatial3d.geom.GeoPoint
dup
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
4: aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
ldc 0.017453292519943295
dmul
5: aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
ldc 0.017453292519943295
dmul
6: invokespecial org.apache.lucene.spatial3d.geom.GeoPoint.<init>:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;DD)V
astore 6
start local 6 7: StackMap locals: org.apache.lucene.spatial3d.geom.GeoPoint
StackMap stack:
new org.apache.lucene.spatial3d.geom.GeoPoint
dup
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
8: dload 4
ldc 0.017453292519943295
dmul
9: dload 2
ldc 0.017453292519943295
dmul
10: invokespecial org.apache.lucene.spatial3d.geom.GeoPoint.<init>:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;DD)V
astore 7
start local 7 11: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 6
aload 7
invokevirtual org.apache.lucene.spatial3d.geom.PlanetModel.surfaceDistance:(Lorg/apache/lucene/spatial3d/geom/GeoPoint;Lorg/apache/lucene/spatial3d/geom/GeoPoint;)D
ldc 57.29577951308232
dmul
dreturn
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 12 1 from Lorg/locationtech/spatial4j/shape/Point;
0 12 2 toX D
0 12 4 toY D
2 3 6 fromGeoPoint Lorg/apache/lucene/spatial3d/geom/GeoPoint;
7 12 6 fromGeoPoint Lorg/apache/lucene/spatial3d/geom/GeoPoint;
11 12 7 toGeoPoint Lorg/apache/lucene/spatial3d/geom/GeoPoint;
MethodParameters:
Name Flags
from
toX
toY
public boolean within(org.locationtech.spatial4j.shape.Point, double, double, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;DDD)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: dload 6
aload 0
aload 1
dload 2
dload 4
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.distance:(Lorg/locationtech/spatial4j/shape/Point;DD)D
dcmpg
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 2 1 from Lorg/locationtech/spatial4j/shape/Point;
0 2 2 toX D
0 2 4 toY D
0 2 6 distance D
MethodParameters:
Name Flags
from
toX
toY
distance
public org.locationtech.spatial4j.shape.Point pointOnBearing(org.locationtech.spatial4j.shape.Point, double, double, org.locationtech.spatial4j.context.SpatialContext, org.locationtech.spatial4j.shape.Point);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;DDLorg/locationtech/spatial4j/context/SpatialContext;Lorg/locationtech/spatial4j/shape/Point;)Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=19, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 0: aload 1
checkcast org.apache.lucene.spatial.spatial4j.Geo3dPointShape
astore 8
start local 8 1: aload 8
getfield org.apache.lucene.spatial.spatial4j.Geo3dPointShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
checkcast org.apache.lucene.spatial3d.geom.GeoPoint
astore 9
start local 9 2: ldc 0.017453292519943295
dload 2
dmul
dstore 10
start local 10 3: ldc 0.017453292519943295
dload 4
dmul
dstore 12
start local 12 4: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 9
dload 10
dload 12
invokevirtual org.apache.lucene.spatial3d.geom.PlanetModel.surfacePointOnBearing:(Lorg/apache/lucene/spatial3d/geom/GeoPoint;DD)Lorg/apache/lucene/spatial3d/geom/GeoPoint;
astore 14
start local 14 5: aload 14
invokevirtual org.apache.lucene.spatial3d.geom.GeoPoint.getLatitude:()D
ldc 57.29577951308232
dmul
dstore 15
start local 15 6: aload 14
invokevirtual org.apache.lucene.spatial3d.geom.GeoPoint.getLongitude:()D
ldc 57.29577951308232
dmul
dstore 17
start local 17 7: aload 7
ifnull 10
8: aload 7
dload 17
dload 15
invokeinterface org.locationtech.spatial4j.shape.Point.reset:(DD)V
9: aload 7
areturn
10: StackMap locals: org.apache.lucene.spatial.spatial4j.Geo3dDistanceCalculator org.locationtech.spatial4j.shape.Point double double org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.spatial4j.Geo3dPointShape org.apache.lucene.spatial3d.geom.GeoPoint double double org.apache.lucene.spatial3d.geom.GeoPoint double double
StackMap stack:
aload 6
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getShapeFactory:()Lorg/locationtech/spatial4j/shape/ShapeFactory;
dload 17
dload 15
invokeinterface org.locationtech.spatial4j.shape.ShapeFactory.pointXY:(DD)Lorg/locationtech/spatial4j/shape/Point;
areturn
end local 17 end local 15 end local 14 end local 12 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 11 1 from Lorg/locationtech/spatial4j/shape/Point;
0 11 2 distDEG D
0 11 4 bearingDEG D
0 11 6 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 11 7 reuse Lorg/locationtech/spatial4j/shape/Point;
1 11 8 geoFrom Lorg/apache/lucene/spatial/spatial4j/Geo3dPointShape;
2 11 9 point Lorg/apache/lucene/spatial3d/geom/GeoPoint;
3 11 10 dist D
4 11 12 bearing D
5 11 14 newPoint Lorg/apache/lucene/spatial3d/geom/GeoPoint;
6 11 15 newLat D
7 11 17 newLon D
MethodParameters:
Name Flags
from
distDEG
bearingDEG
ctx
reuse
public org.locationtech.spatial4j.shape.Rectangle calcBoxByDistFromPt(org.locationtech.spatial4j.shape.Point, double, org.locationtech.spatial4j.context.SpatialContext, org.locationtech.spatial4j.shape.Rectangle);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;DLorg/locationtech/spatial4j/context/SpatialContext;Lorg/locationtech/spatial4j/shape/Rectangle;)Lorg/locationtech/spatial4j/shape/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getShapeFactory:()Lorg/locationtech/spatial4j/shape/ShapeFactory;
aload 1
dload 2
invokeinterface org.locationtech.spatial4j.shape.ShapeFactory.circle:(Lorg/locationtech/spatial4j/shape/Point;D)Lorg/locationtech/spatial4j/shape/Circle;
astore 6
start local 6 1: aload 6
invokeinterface org.locationtech.spatial4j.shape.Circle.getBoundingBox:()Lorg/locationtech/spatial4j/shape/Rectangle;
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 2 1 from Lorg/locationtech/spatial4j/shape/Point;
0 2 2 distDEG D
0 2 4 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 2 5 reuse Lorg/locationtech/spatial4j/shape/Rectangle;
1 2 6 circle Lorg/locationtech/spatial4j/shape/Circle;
MethodParameters:
Name Flags
from
distDEG
ctx
reuse
public double calcBoxByDistFromPt_yHorizAxisDEG(org.locationtech.spatial4j.shape.Point, double, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;DLorg/locationtech/spatial4j/context/SpatialContext;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 1 1 from Lorg/locationtech/spatial4j/shape/Point;
0 1 2 distDEG D
0 1 4 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
MethodParameters:
Name Flags
from
distDEG
ctx
public double area(org.locationtech.spatial4j.shape.Rectangle);
descriptor: (Lorg/locationtech/spatial4j/shape/Rectangle;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 1 1 rect Lorg/locationtech/spatial4j/shape/Rectangle;
MethodParameters:
Name Flags
rect
public double area(org.locationtech.spatial4j.shape.Circle);
descriptor: (Lorg/locationtech/spatial4j/shape/Circle;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dDistanceCalculator;
0 1 1 circle Lorg/locationtech/spatial4j/shape/Circle;
MethodParameters:
Name Flags
circle
}
SourceFile: "Geo3dDistanceCalculator.java"