![JAR search and dependency download from the Maven repository](/logo.png)
org.eclipse.elk.alg.common.utils.Utils.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 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 $ % " $ &