public class org.apache.commons.math3.geometry.spherical.twod.S2Point implements org.apache.commons.math3.geometry.Point<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.geometry.spherical.twod.S2Point
super_class: java.lang.Object
{
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point PLUS_I;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point PLUS_J;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point PLUS_K;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point MINUS_I;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point MINUS_J;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point MINUS_K;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.commons.math3.geometry.spherical.twod.S2Point NaN;
descriptor: Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20131218
private final double theta;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double phi;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector;
descriptor: Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
dconst_0
ldc 1.5707963267948966
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.PLUS_I:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.PLUS_I:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
1: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
ldc 1.5707963267948966
ldc 1.5707963267948966
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.PLUS_J:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.PLUS_J:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
2: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
dconst_0
dconst_0
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.PLUS_K:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.PLUS_K:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
3: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
ldc 3.141592653589793
ldc 1.5707963267948966
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.MINUS_I:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.MINUS_I:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
4: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
ldc 4.71238898038469
ldc 1.5707963267948966
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.MINUS_J:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.MINUS_J:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
5: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
dconst_0
ldc 3.141592653589793
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.MINUS_K:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.MINUS_K:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
6: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
ldc NaN
ldc NaN
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.NaN:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.NaN:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
dload 3
dload 1
dload 3
invokestatic org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:(DD)Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 2 1 theta D
0 2 3 phi D
Exceptions:
throws org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
theta final
phi final
public void <init>(org.apache.commons.math3.geometry.euclidean.threed.Vector3D);
descriptor: (Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.getY:()D
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.getX:()D
invokestatic org.apache.commons.math3.util.FastMath.atan2:(DD)D
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.PLUS_K:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
aload 1
invokestatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.angle:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)D
1: aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.normalize:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 3 1 vector Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
Exceptions:
throws org.apache.commons.math3.exception.MathArithmeticException
MethodParameters:
Name Flags
vector final
private void <init>(double, double, org.apache.commons.math3.geometry.euclidean.threed.Vector3D);
descriptor: (DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
2: aload 0
dload 3
putfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
3: aload 0
aload 5
putfield org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
4: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 5 1 theta D
0 5 3 phi D
0 5 5 vector Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
MethodParameters:
Name Flags
theta final
phi final
vector final
private static org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector(double, double);
descriptor: (DD)Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=12, args_size=2
start local 0 start local 2 0: dload 2
dconst_0
dcmpg
iflt 1
dload 2
ldc 3.141592653589793
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc 3.141592653589793
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
2: StackMap locals:
StackMap stack:
dload 0
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 4
start local 4 3: dload 0
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 6
start local 6 4: dload 2
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dstore 8
start local 8 5: dload 2
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dstore 10
start local 10 6: new org.apache.commons.math3.geometry.euclidean.threed.Vector3D
dup
dload 4
dload 10
dmul
dload 6
dload 10
dmul
dload 8
invokespecial org.apache.commons.math3.geometry.euclidean.threed.Vector3D.<init>:(DDD)V
areturn
end local 10 end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 theta D
0 7 2 phi D
3 7 4 cosTheta D
4 7 6 sinTheta D
5 7 8 cosPhi D
6 7 10 sinPhi D
Exceptions:
throws org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
theta final
phi final
public double getTheta();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public double getPhi();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getVector();
descriptor: ()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public org.apache.commons.math3.geometry.Space getSpace();
descriptor: ()Lorg/apache/commons/math3/geometry/Space;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.commons.math3.geometry.spherical.twod.Sphere2D.getInstance:()Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public boolean isNaN();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public org.apache.commons.math3.geometry.spherical.twod.S2Point negate();
descriptor: ()Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
dneg
ldc 3.141592653589793
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
dsub
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.negate:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(DDLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
public double distance(org.apache.commons.math3.geometry.Point<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>);
descriptor: (Lorg/apache/commons/math3/geometry/Point;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast org.apache.commons.math3.geometry.spherical.twod.S2Point
invokestatic org.apache.commons.math3.geometry.spherical.twod.S2Point.distance:(Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 1 1 point Lorg/apache/commons/math3/geometry/Point<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
Signature: (Lorg/apache/commons/math3/geometry/Point<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;)D
MethodParameters:
Name Flags
point final
public static double distance(org.apache.commons.math3.geometry.spherical.twod.S2Point, org.apache.commons.math3.geometry.spherical.twod.S2Point);
descriptor: (Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
aload 1
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.vector:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokestatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.angle:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p1 Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 1 1 p2 Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
MethodParameters:
Name Flags
p1
p2
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.commons.math3.geometry.spherical.twod.S2Point
ifeq 8
3: aload 1
checkcast org.apache.commons.math3.geometry.spherical.twod.S2Point
astore 2
start local 2 4: aload 2
invokevirtual org.apache.commons.math3.geometry.spherical.twod.S2Point.isNaN:()Z
ifeq 6
5: aload 0
invokevirtual org.apache.commons.math3.geometry.spherical.twod.S2Point.isNaN:()Z
ireturn
6: StackMap locals: org.apache.commons.math3.geometry.spherical.twod.S2Point
StackMap stack:
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
aload 2
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
dcmpl
ifne 7
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
aload 2
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
dcmpl
ifne 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
0 9 1 other Ljava/lang/Object;
4 8 2 rhs Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.math3.geometry.spherical.twod.S2Point.isNaN:()Z
ifeq 2
1: sipush 542
ireturn
2: StackMap locals:
StackMap stack:
sipush 134
bipush 37
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.theta:D
invokestatic org.apache.commons.math3.util.MathUtils.hash:(D)I
imul
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.S2Point.phi:D
invokestatic org.apache.commons.math3.util.MathUtils.hash:(D)I
iadd
imul
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
}
Signature: Ljava/lang/Object;Lorg/apache/commons/math3/geometry/Point<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
SourceFile: "S2Point.java"