class org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer implements org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer
super_class: java.lang.Object
{
private final double tolerance;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private double summedArea;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private org.apache.commons.math3.geometry.euclidean.threed.Vector3D summedBarycenter;
descriptor: Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> convexCellsInsidePoints;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;>;
void <init>(double);
descriptor: (D)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.tolerance:D
2: aload 0
dconst_0
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedArea:D
3: aload 0
getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.ZERO:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedBarycenter:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.convexCellsInsidePoints:Ljava/util/List;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 6 1 tolerance D
MethodParameters:
Name Flags
tolerance final
public org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor$Order visitOrder(org.apache.commons.math3.geometry.partitioning.BSPTree<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>);
descriptor: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree;)Lorg/apache/commons/math3/geometry/partitioning/BSPTreeVisitor$Order;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor$Order.MINUS_SUB_PLUS:Lorg/apache/commons/math3/geometry/partitioning/BSPTreeVisitor$Order;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 1 1 node Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
Signature: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;)Lorg/apache/commons/math3/geometry/partitioning/BSPTreeVisitor$Order;
MethodParameters:
Name Flags
node final
public void visitInternalNode(org.apache.commons.math3.geometry.partitioning.BSPTree<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>);
descriptor: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 1 1 node Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
Signature: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;)V
MethodParameters:
Name Flags
node final
public void visitLeafNode(org.apache.commons.math3.geometry.partitioning.BSPTree<org.apache.commons.math3.geometry.spherical.twod.Sphere2D>);
descriptor: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.commons.math3.geometry.partitioning.BSPTree.getAttribute:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 16
1: new org.apache.commons.math3.geometry.spherical.twod.SphericalPolygonsSet
dup
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
2: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
3: aconst_null
4: invokevirtual org.apache.commons.math3.geometry.partitioning.BSPTree.pruneAroundConvexCell:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/math3/geometry/partitioning/BSPTree;
5: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.tolerance:D
6: invokespecial org.apache.commons.math3.geometry.spherical.twod.SphericalPolygonsSet.<init>:(Lorg/apache/commons/math3/geometry/partitioning/BSPTree;D)V
7: astore 2
start local 2 8: aload 2
invokevirtual org.apache.commons.math3.geometry.spherical.twod.SphericalPolygonsSet.getBoundaryLoops:()Ljava/util/List;
astore 3
start local 3 9: aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 11
10: new org.apache.commons.math3.exception.MathInternalError
dup
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:()V
athrow
11: StackMap locals: org.apache.commons.math3.geometry.spherical.twod.SphericalPolygonsSet java.util.List
StackMap stack:
aload 0
aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.geometry.spherical.twod.Vertex
invokevirtual org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.convexCellArea:(Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;)D
dstore 4
start local 4 12: aload 0
aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.geometry.spherical.twod.Vertex
invokevirtual org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.convexCellBarycenter:(Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;)Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
astore 6
start local 6 13: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.convexCellsInsidePoints:Ljava/util/List;
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 0
dup
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedArea:D
dload 4
dadd
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedArea:D
15: aload 0
new org.apache.commons.math3.geometry.euclidean.threed.Vector3D
dup
dconst_1
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedBarycenter:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
dload 4
aload 6
invokespecial org.apache.commons.math3.geometry.euclidean.threed.Vector3D.<init>:(DLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;DLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
putfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedBarycenter:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
end local 6 end local 4 end local 3 end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 17 1 node Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
8 16 2 convex Lorg/apache/commons/math3/geometry/spherical/twod/SphericalPolygonsSet;
9 16 3 boundary Ljava/util/List<Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;>;
12 16 4 area D
13 16 6 barycenter Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
Signature: (Lorg/apache/commons/math3/geometry/partitioning/BSPTree<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;)V
MethodParameters:
Name Flags
node final
private double convexCellArea(org.apache.commons.math3.geometry.spherical.twod.Vertex);
descriptor: (Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: dconst_0
dstore 3
start local 3 2: aload 1
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getOutgoing:()Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
astore 5
start local 5 3: goto 15
4: StackMap locals: int double org.apache.commons.math3.geometry.spherical.twod.Edge
StackMap stack:
aload 5
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getCircle:()Lorg/apache/commons/math3/geometry/spherical/twod/Circle;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Circle.getPole:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
astore 6
start local 6 5: aload 5
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getEnd:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getOutgoing:()Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getCircle:()Lorg/apache/commons/math3/geometry/spherical/twod/Circle;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Circle.getPole:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
astore 7
start local 7 6: aload 5
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getEnd:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getLocation:()Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.S2Point.getVector:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
astore 8
start local 8 7: aload 7
aload 8
aload 6
invokestatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.crossProduct:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokestatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.dotProduct:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)D
8: aload 7
aload 6
invokestatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.dotProduct:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)D
dneg
9: invokestatic org.apache.commons.math3.util.FastMath.atan2:(DD)D
dstore 9
start local 9 10: dload 9
dconst_0
dcmpg
ifge 12
11: dload 9
ldc 6.283185307179586
dadd
dstore 9
12: StackMap locals: org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer org.apache.commons.math3.geometry.spherical.twod.Vertex int double org.apache.commons.math3.geometry.spherical.twod.Edge org.apache.commons.math3.geometry.euclidean.threed.Vector3D org.apache.commons.math3.geometry.euclidean.threed.Vector3D org.apache.commons.math3.geometry.euclidean.threed.Vector3D double
StackMap stack:
dload 3
dload 9
dadd
dstore 3
13: iinc 2 1
end local 9 end local 8 end local 7 end local 6 14: aload 5
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getEnd:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getOutgoing:()Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
astore 5
StackMap locals: org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer org.apache.commons.math3.geometry.spherical.twod.Vertex int double org.apache.commons.math3.geometry.spherical.twod.Edge
StackMap stack:
15: iload 2
ifeq 4
aload 5
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getStart:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
aload 1
if_acmpne 4
end local 5 16: dload 3
iload 2
iconst_2
isub
i2d
ldc 3.141592653589793
dmul
dsub
dreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 17 1 start Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
1 17 2 n I
2 17 3 sum D
3 16 5 e Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
5 14 6 previousPole Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
6 14 7 nextPole Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
7 14 8 point Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
10 14 9 alpha D
MethodParameters:
Name Flags
start final
private org.apache.commons.math3.geometry.euclidean.threed.Vector3D convexCellBarycenter(org.apache.commons.math3.geometry.spherical.twod.Vertex);
descriptor: (Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;)Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic org.apache.commons.math3.geometry.euclidean.threed.Vector3D.ZERO:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
astore 3
start local 3 2: aload 1
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getOutgoing:()Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
astore 4
start local 4 3: goto 7
4: StackMap locals: int org.apache.commons.math3.geometry.euclidean.threed.Vector3D org.apache.commons.math3.geometry.spherical.twod.Edge
StackMap stack:
new org.apache.commons.math3.geometry.euclidean.threed.Vector3D
dup
dconst_1
aload 3
aload 4
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getLength:()D
aload 4
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getCircle:()Lorg/apache/commons/math3/geometry/spherical/twod/Circle;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Circle.getPole:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.euclidean.threed.Vector3D.<init>:(DLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;DLorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
astore 3
5: iinc 2 1
6: aload 4
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getEnd:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Vertex.getOutgoing:()Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
astore 4
StackMap locals:
StackMap stack:
7: iload 2
ifeq 4
aload 4
invokevirtual org.apache.commons.math3.geometry.spherical.twod.Edge.getStart:()Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
aload 1
if_acmpne 4
end local 4 8: aload 3
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.normalize:()Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
0 9 1 start Lorg/apache/commons/math3/geometry/spherical/twod/Vertex;
1 9 2 n I
2 9 3 sumB Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
3 8 4 e Lorg/apache/commons/math3/geometry/spherical/twod/Edge;
MethodParameters:
Name Flags
start final
public double getArea();
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.PropertiesComputer.summedArea:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
public org.apache.commons.math3.geometry.spherical.twod.S2Point getBarycenter();
descriptor: ()Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedBarycenter:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokevirtual org.apache.commons.math3.geometry.euclidean.threed.Vector3D.getNormSq:()D
dconst_0
dcmpl
ifne 2
1: getstatic org.apache.commons.math3.geometry.spherical.twod.S2Point.NaN:Lorg/apache/commons/math3/geometry/spherical/twod/S2Point;
areturn
2: StackMap locals:
StackMap stack:
new org.apache.commons.math3.geometry.spherical.twod.S2Point
dup
aload 0
getfield org.apache.commons.math3.geometry.spherical.twod.PropertiesComputer.summedBarycenter:Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;
invokespecial org.apache.commons.math3.geometry.spherical.twod.S2Point.<init>:(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
public java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> getConvexCellsInsidePoints();
descriptor: ()Ljava/util/List;
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.PropertiesComputer.convexCellsInsidePoints:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/spherical/twod/PropertiesComputer;
Signature: ()Ljava/util/List<Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;>;
}
Signature: Ljava/lang/Object;Lorg/apache/commons/math3/geometry/partitioning/BSPTreeVisitor<Lorg/apache/commons/math3/geometry/spherical/twod/Sphere2D;>;
SourceFile: "PropertiesComputer.java"
InnerClasses:
public final Order = org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor$Order of org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor