org.eclipse.elk.alg.common.RectilinearConvexHull.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-epl Show documentation
Show all versions of plantuml-epl Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
???? 7. 0org/eclipse/elk/alg/common/RectilinearConvexHull java/lang/Object hull Ljava/util/List; Signature 4Ljava/util/List; xMax1 "Lorg/eclipse/elk/alg/common/Point; xMax2 xMin1 xMin2 yMax1 yMax2 yMin1 yMin2 DEBUG Z
ConstantValue RIGHT_HIGH_FIRST Ljava/util/Comparator; :Ljava/util/Comparator; RIGHT_LOW_FIRST LEFT_HIGH_FIRST LEFT_LOW_FIRST RIGHT_SPECIAL_ORDER ()V Code ! " # compare ()Ljava/util/Comparator; % ! ( ! + ! . ! 1 LineNumberTable LocalVariableTable
6 4
8 : 9 com/google/common/collect/Lists ; < newArrayList ()Ljava/util/ArrayList; > @
B
D
F
H
J
L
N
this 2Lorg/eclipse/elk/alg/common/RectilinearConvexHull; of H(Ljava/lang/Iterable;)Lorg/eclipse/elk/alg/common/RectilinearConvexHull; l(Ljava/lang/Iterable;)Lorg/eclipse/elk/alg/common/RectilinearConvexHull;
6 V X W java/lang/Iterable Y Z iterator ()Ljava/util/Iterator; \ ^ ] java/util/Iterator _ ` next ()Ljava/lang/Object; b org/eclipse/elk/alg/common/Point a d e f x D a h i f y \ k l m hasNext ()Z o Lorg/eclipse/elk/alg/common/RectilinearConvexHull$MaximalElementsEventHandler q s r )org/eclipse/elk/alg/common/Point$Quadrant t u Q1 +Lorg/eclipse/elk/alg/common/Point$Quadrant;
n w 4 x .(Lorg/eclipse/elk/alg/common/Point$Quadrant;)V
z | { .org/eclipse/elk/alg/common/compaction/Scanline } ~ execute j(Ljava/lang/Iterable;Ljava/util/Comparator;Lorg/eclipse/elk/alg/common/compaction/Scanline$EventHandler;)V q ? ? u Q4 q ? ? u Q2 q ? ? u Q3 n ? ? points
? ? ? addConcaveCorners >(Ljava/util/List;Lorg/eclipse/elk/alg/common/Point$Quadrant;)V
? ? ? getHull ()Ljava/util/List; ? ? ? java/util/List ? clear ? ? ? ? addAll (Ljava/util/Collection;)Z
8 ? ? ? reverse "(Ljava/util/List;)Ljava/util/List; Ljava/lang/Iterable; rch p q1 NLorg/eclipse/elk/alg/common/RectilinearConvexHull$MaximalElementsEventHandler; q4 q2 q3 LocalVariableTypeTable 8Ljava/lang/Iterable;
StackMapTable 6()Ljava/util/List; splitIntoRectangles <()Ljava/util/List; ? Forg/eclipse/elk/alg/common/RectilinearConvexHull$RectangleEventHandler
? ? 4 ? 5(Lorg/eclipse/elk/alg/common/RectilinearConvexHull;)V ? ? ? ? queued (Lorg/eclipse/elk/core/math/ElkRectangle; ? ? ? rects ? ? ? ? add (Ljava/lang/Object;)Z handler HLorg/eclipse/elk/alg/common/RectilinearConvexHull$RectangleEventHandler; b(Ljava/util/List;Lorg/eclipse/elk/alg/common/Point$Quadrant;)V ? ? ? ? listIterator ()Ljava/util/ListIterator; ? ^ ? java/util/ListIterator
a ? 4 ? 0(DDLorg/eclipse/elk/alg/common/Point$Quadrant;)V ? ? ? ` previous ? ? ? ? (Ljava/lang/Object;)V a ? ? convex ? k pts q pIt Ljava/util/ListIterator; last ; lambda$0 G(Lorg/eclipse/elk/alg/common/Point;Lorg/eclipse/elk/alg/common/Point;)I
? ? ? java/lang/Double " ? (DD)I p1 p2 lambda$1 lambda$2 lambda$3 lambda$4 a ? ? u quadrant
q ? ? ? isBothLeftOrBothRight Y(Lorg/eclipse/elk/alg/common/Point$Quadrant;Lorg/eclipse/elk/alg/common/Point$Quadrant;)Z
q ? ? m isLeft
q ? ? ? ordinal ()I
? ? ? java/lang/Integer " ? (II)I val I
SourceFile RectilinearConvexHull.java BootstrapMethods
"java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; '(Ljava/lang/Object;Ljava/lang/Object;)I
? ? ?
? ? ?
? ? ?
? ? ?
? ? ? InnerClasses# %java/lang/invoke/MethodHandles$Lookup% java/lang/invoke/MethodHandles Lookup Quadrant MaximalElementsEventHandler RectangleEventHandler+ ;org/eclipse/elk/alg/common/compaction/Scanline$EventHandler EventHandler NestMembers 1
] )? ? $? &