public class org.apache.lucene.spatial.spatial4j.Geo3dShape<T extends org.apache.lucene.spatial3d.geom.GeoAreaShape> implements org.locationtech.spatial4j.shape.Shape
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.spatial4j.Geo3dShape
super_class: java.lang.Object
{
protected final org.locationtech.spatial4j.context.SpatialContext spatialcontext;
descriptor: Lorg/locationtech/spatial4j/context/SpatialContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected T shape;
descriptor: Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
protected volatile org.locationtech.spatial4j.shape.Rectangle boundingBox;
descriptor: Lorg/locationtech/spatial4j/shape/Rectangle;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile org.locationtech.spatial4j.shape.Point center;
descriptor: Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
public void <init>(T, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;Lorg/locationtech/spatial4j/context/SpatialContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.boundingBox:Lorg/locationtech/spatial4j/shape/Rectangle;
2: aload 0
aconst_null
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.center:Lorg/locationtech/spatial4j/shape/Point;
3: aload 0
aload 2
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
4: aload 0
aload 1
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 6 1 shape TT;
0 6 2 spatialcontext Lorg/locationtech/spatial4j/context/SpatialContext;
Signature: (TT;Lorg/locationtech/spatial4j/context/SpatialContext;)V
MethodParameters:
Name Flags
shape final
spatialcontext final
public org.locationtech.spatial4j.shape.SpatialRelation relate(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)Lorg/locationtech/spatial4j/shape/SpatialRelation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.lucene.spatial.spatial4j.Geo3dShape
ifeq 3
1: aload 0
aload 1
checkcast org.apache.lucene.spatial.spatial4j.Geo3dShape
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dShape.relate:(Lorg/apache/lucene/spatial/spatial4j/Geo3dShape;)I
istore 2
start local 2 2: goto 10
end local 2 StackMap locals:
StackMap stack:
3: aload 1
instanceof org.locationtech.spatial4j.shape.Rectangle
ifeq 6
4: aload 0
aload 1
checkcast org.locationtech.spatial4j.shape.Rectangle
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dShape.relate:(Lorg/locationtech/spatial4j/shape/Rectangle;)I
istore 2
start local 2 5: goto 10
end local 2 StackMap locals:
StackMap stack:
6: aload 1
instanceof org.locationtech.spatial4j.shape.Point
ifeq 9
7: aload 0
aload 1
checkcast org.locationtech.spatial4j.shape.Point
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dShape.relate:(Lorg/locationtech/spatial4j/shape/Point;)I
istore 2
start local 2 8: goto 10
end local 2 9: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unimplemented shape relationship determination: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
start local 2 10: StackMap locals: int
StackMap stack:
iload 2
tableswitch { // 0 - 3
0: 15
1: 18
2: 12
3: 11
default: 19
}
11: StackMap locals:
StackMap stack:
getstatic org.locationtech.spatial4j.shape.SpatialRelation.DISJOINT:Lorg/locationtech/spatial4j/shape/SpatialRelation;
areturn
12: StackMap locals:
StackMap stack:
aload 1
instanceof org.locationtech.spatial4j.shape.Point
ifeq 13
getstatic org.locationtech.spatial4j.shape.SpatialRelation.CONTAINS:Lorg/locationtech/spatial4j/shape/SpatialRelation;
goto 14
StackMap locals:
StackMap stack:
13: getstatic org.locationtech.spatial4j.shape.SpatialRelation.INTERSECTS:Lorg/locationtech/spatial4j/shape/SpatialRelation;
StackMap locals:
StackMap stack: org.locationtech.spatial4j.shape.SpatialRelation
14: areturn
15: StackMap locals:
StackMap stack:
aload 1
instanceof org.locationtech.spatial4j.shape.Point
ifeq 16
getstatic org.locationtech.spatial4j.shape.SpatialRelation.CONTAINS:Lorg/locationtech/spatial4j/shape/SpatialRelation;
goto 17
StackMap locals:
StackMap stack:
16: getstatic org.locationtech.spatial4j.shape.SpatialRelation.WITHIN:Lorg/locationtech/spatial4j/shape/SpatialRelation;
StackMap locals:
StackMap stack: org.locationtech.spatial4j.shape.SpatialRelation
17: areturn
18: StackMap locals:
StackMap stack:
getstatic org.locationtech.spatial4j.shape.SpatialRelation.CONTAINS:Lorg/locationtech/spatial4j/shape/SpatialRelation;
areturn
19: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Undetermined shape relationship: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 20 1 other Lorg/locationtech/spatial4j/shape/Shape;
2 3 2 relationship I
5 6 2 relationship I
8 9 2 relationship I
10 20 2 relationship I
MethodParameters:
Name Flags
other
private int relate(org.apache.lucene.spatial.spatial4j.Geo3dShape<?>);
descriptor: (Lorg/apache/lucene/spatial/spatial4j/Geo3dShape;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
aload 1
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.getRelationship:(Lorg/apache/lucene/spatial3d/geom/GeoShape;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 1 1 s Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<*>;
Signature: (Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<*>;)I
MethodParameters:
Name Flags
s
private int relate(org.locationtech.spatial4j.shape.Rectangle);
descriptor: (Lorg/locationtech/spatial4j/shape/Rectangle;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.getPlanetModel:()Lorg/apache/lucene/spatial3d/geom/PlanetModel;
1: aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
ldc 0.017453292519943295
dmul
2: aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
ldc 0.017453292519943295
dmul
3: aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
ldc 0.017453292519943295
dmul
4: aload 1
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
ldc 0.017453292519943295
dmul
5: invokestatic org.apache.lucene.spatial3d.geom.GeoAreaFactory.makeGeoArea:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;DDDD)Lorg/apache/lucene/spatial3d/geom/GeoArea;
astore 2
start local 2 6: aload 2
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokeinterface org.apache.lucene.spatial3d.geom.GeoArea.getRelationship:(Lorg/apache/lucene/spatial3d/geom/GeoShape;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 7 1 r Lorg/locationtech/spatial4j/shape/Rectangle;
6 7 2 geoArea Lorg/apache/lucene/spatial3d/geom/GeoArea;
MethodParameters:
Name Flags
r
private int relate(org.locationtech.spatial4j.shape.Point);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.lucene.spatial3d.geom.GeoPoint
dup
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.getPlanetModel:()Lorg/apache/lucene/spatial3d/geom/PlanetModel;
1: aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
ldc 0.017453292519943295
dmul
2: aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
ldc 0.017453292519943295
dmul
3: invokespecial org.apache.lucene.spatial3d.geom.GeoPoint.<init>:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;DD)V
astore 2
start local 2 4: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
aload 2
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.isWithin:(Lorg/apache/lucene/spatial3d/geom/Vector;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: org.apache.lucene.spatial3d.geom.GeoPoint
StackMap stack:
iconst_3
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 7 1 p Lorg/locationtech/spatial4j/shape/Point;
4 7 2 point Lorg/apache/lucene/spatial3d/geom/GeoPoint;
MethodParameters:
Name Flags
p
public org.locationtech.spatial4j.shape.Rectangle getBoundingBox();
descriptor: ()Lorg/locationtech/spatial4j/shape/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.boundingBox:Lorg/locationtech/spatial4j/shape/Rectangle;
astore 1
start local 1 1: aload 1
ifnonnull 7
2: new org.apache.lucene.spatial3d.geom.LatLonBounds
dup
invokespecial org.apache.lucene.spatial3d.geom.LatLonBounds.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
aload 2
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.getBounds:(Lorg/apache/lucene/spatial3d/geom/Bounds;)V
4: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokeinterface org.apache.lucene.spatial3d.geom.GeoAreaShape.getPlanetModel:()Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 2
invokestatic org.apache.lucene.spatial3d.geom.GeoBBoxFactory.makeGeoBBox:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;Lorg/apache/lucene/spatial3d/geom/LatLonBounds;)Lorg/apache/lucene/spatial3d/geom/GeoBBox;
astore 3
start local 3 5: new org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
dup
aload 3
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape.<init>:(Lorg/apache/lucene/spatial3d/geom/GeoBBox;Lorg/locationtech/spatial4j/context/SpatialContext;)V
astore 1
6: aload 0
aload 1
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.boundingBox:Lorg/locationtech/spatial4j/shape/Rectangle;
end local 3 end local 2 7: StackMap locals: org.locationtech.spatial4j.shape.Rectangle
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
1 8 1 bbox Lorg/locationtech/spatial4j/shape/Rectangle;
3 7 2 bounds Lorg/apache/lucene/spatial3d/geom/LatLonBounds;
5 7 3 geoBBox Lorg/apache/lucene/spatial3d/geom/GeoBBox;
public boolean hasArea();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
public double getArea(org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;)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/Geo3dShape<TT;>;
0 1 1 spatialContext Lorg/locationtech/spatial4j/context/SpatialContext;
MethodParameters:
Name Flags
spatialContext
public org.locationtech.spatial4j.shape.Point getCenter();
descriptor: ()Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.center:Lorg/locationtech/spatial4j/shape/Point;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dShape.getBoundingBox:()Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getCenter:()Lorg/locationtech/spatial4j/shape/Point;
astore 1
3: aload 0
aload 1
putfield org.apache.lucene.spatial.spatial4j.Geo3dShape.center:Lorg/locationtech/spatial4j/shape/Point;
4: StackMap locals: org.locationtech.spatial4j.shape.Point
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
1 5 1 center Lorg/locationtech/spatial4j/shape/Point;
public org.locationtech.spatial4j.shape.Shape getBuffered(double, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (DLorg/locationtech/spatial4j/context/SpatialContext;)Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 1 1 distance D
0 1 3 spatialContext Lorg/locationtech/spatial4j/context/SpatialContext;
MethodParameters:
Name Flags
distance
spatialContext
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
public org.locationtech.spatial4j.context.SpatialContext getContext();
descriptor: ()Lorg/locationtech/spatial4j/context/SpatialContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Geo3D:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.lucene.spatial.spatial4j.Geo3dShape
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.spatial.spatial4j.Geo3dShape
astore 2
start local 2 3: aload 2
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 2
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: org.apache.lucene.spatial.spatial4j.Geo3dShape
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
0 5 1 o Ljava/lang/Object;
3 5 2 other Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<*>;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.spatialcontext:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual java.lang.Object.hashCode:()I
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokevirtual java.lang.Object.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dShape<TT;>;
}
Signature: <T::Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;>Ljava/lang/Object;Lorg/locationtech/spatial4j/shape/Shape;
SourceFile: "Geo3dShape.java"