public class org.apache.commons.math3.geometry.euclidean.twod.Segment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.geometry.euclidean.twod.Segment
super_class: java.lang.Object
{
private final org.apache.commons.math3.geometry.euclidean.twod.Vector2D start;
descriptor: Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.math3.geometry.euclidean.twod.Vector2D end;
descriptor: Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.math3.geometry.euclidean.twod.Line line;
descriptor: Lorg/apache/commons/math3/geometry/euclidean/twod/Line;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.commons.math3.geometry.euclidean.twod.Vector2D, org.apache.commons.math3.geometry.euclidean.twod.Vector2D, org.apache.commons.math3.geometry.euclidean.twod.Line);
descriptor: (Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;Lorg/apache/commons/math3/geometry/euclidean/twod/Line;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
2: aload 0
aload 2
putfield org.apache.commons.math3.geometry.euclidean.twod.Segment.end:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
3: aload 0
aload 3
putfield org.apache.commons.math3.geometry.euclidean.twod.Segment.line:Lorg/apache/commons/math3/geometry/euclidean/twod/Line;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/geometry/euclidean/twod/Segment;
0 5 1 start Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
0 5 2 end Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
0 5 3 line Lorg/apache/commons/math3/geometry/euclidean/twod/Line;
MethodParameters:
Name Flags
start final
end final
line final
public org.apache.commons.math3.geometry.euclidean.twod.Vector2D getStart();
descriptor: ()Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/euclidean/twod/Segment;
public org.apache.commons.math3.geometry.euclidean.twod.Vector2D getEnd();
descriptor: ()Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.end:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/euclidean/twod/Segment;
public org.apache.commons.math3.geometry.euclidean.twod.Line getLine();
descriptor: ()Lorg/apache/commons/math3/geometry/euclidean/twod/Line;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.line:Lorg/apache/commons/math3/geometry/euclidean/twod/Line;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/geometry/euclidean/twod/Segment;
public double distance(org.apache.commons.math3.geometry.euclidean.twod.Vector2D);
descriptor: (Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.end:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getX:()D
aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getX:()D
dsub
dstore 2
start local 2 1: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.end:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getY:()D
aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getY:()D
dsub
dstore 4
start local 4 2: aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getX:()D
aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getX:()D
dsub
dload 2
dmul
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getY:()D
aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getY:()D
dsub
dload 4
dmul
dadd
3: dload 2
dload 2
dmul
dload 4
dload 4
dmul
dadd
4: ddiv
dstore 6
start local 6 5: dload 6
dconst_0
dcmpg
iflt 6
dload 6
dconst_1
dcmpl
ifle 9
6: StackMap locals: double double double
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Segment.getStart:()Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.distance:(Lorg/apache/commons/math3/geometry/Point;)D
dstore 8
start local 8 7: aload 0
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Segment.getEnd:()Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.distance:(Lorg/apache/commons/math3/geometry/Point;)D
dstore 10
start local 10 8: dload 8
dload 10
invokestatic org.apache.commons.math3.util.FastMath.min:(DD)D
dreturn
end local 10 end local 8 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getX:()D
dload 6
dload 2
dmul
dadd
dstore 8
start local 8 10: aload 0
getfield org.apache.commons.math3.geometry.euclidean.twod.Segment.start:Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.getY:()D
dload 6
dload 4
dmul
dadd
dstore 10
start local 10 11: new org.apache.commons.math3.geometry.euclidean.twod.Vector2D
dup
dload 8
dload 10
invokespecial org.apache.commons.math3.geometry.euclidean.twod.Vector2D.<init>:(DD)V
astore 12
start local 12 12: aload 12
aload 1
invokevirtual org.apache.commons.math3.geometry.euclidean.twod.Vector2D.distance:(Lorg/apache/commons/math3/geometry/Point;)D
dreturn
end local 12 end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/geometry/euclidean/twod/Segment;
0 13 1 p Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
1 13 2 deltaX D
2 13 4 deltaY D
5 13 6 r D
7 9 8 dist1 D
8 9 10 dist2 D
10 13 8 px D
11 13 10 py D
12 13 12 interPt Lorg/apache/commons/math3/geometry/euclidean/twod/Vector2D;
MethodParameters:
Name Flags
p final
}
SourceFile: "Segment.java"