org.eclipse.elk.alg.common.utils.Utils.class Maven / Gradle / Ivy
???? 7 \ &org/eclipse/elk/alg/common/utils/Utils java/lang/Object ()V Code
LineNumberTable LocalVariableTable this (Lorg/eclipse/elk/alg/common/utils/Utils; overlap S(Lorg/eclipse/elk/core/math/ElkRectangle;Lorg/eclipse/elk/core/math/ElkRectangle;)D &org/eclipse/elk/core/math/ElkRectangle x D width
java/lang/Math abs (D)D
! " min (DD)D $ % y ' ( height@ r1 (Lorg/eclipse/elk/core/math/ElkRectangle; r2 horizontalOverlap verticalOverlap horizontalCenterDistance verticalCenterDistance
StackMapTable getRectEdges :(Lorg/eclipse/elk/core/math/ElkRectangle;)Ljava/util/List; Signature ^(Lorg/eclipse/elk/core/math/ElkRectangle;)Ljava/util/List;
8 : 9 com/google/common/collect/Lists ; < newArrayList ()Ljava/util/ArrayList; > org/eclipse/elk/alg/common/TEdge
@ A B
getTopLeft %()Lorg/eclipse/elk/core/math/KVector;
D E B getTopRight
= G H I(Lorg/eclipse/elk/core/math/KVector;Lorg/eclipse/elk/core/math/KVector;)V J L K java/util/List M N add (Ljava/lang/Object;)Z
P Q B
getBottomLeft
S T B getBottomRight r rectEdegs Ljava/util/List; LocalVariableTypeTable 4Ljava/util/List;
SourceFile
Utils.java 1 / *? ?
?
?*? +? +? cg? *? *? c+? g? ? I*? #+? #+? &cg? *? #*? &c+? #g? ? 9*? *? )oc+? +? )ocg? 9*? )o+? )oc?? ?*? #*? & )oc+? #+? & )ocg? 9*? & )o+? & )oc?? ??? ?? ??? oc???
(oc?(oo? c?
N $ % " $ &