forked from jgraph/mxgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmxCurve.html
More file actions
1070 lines (1070 loc) · 45.3 KB
/
Copy pathmxCurve.html
File metadata and controls
1070 lines (1070 loc) · 45.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_171) on Fri Jul 06 13:50:10 UTC 2018 -->
<title>mxCurve (mxGraph 3.9.8 API Specification)</title>
<meta name="date" content="2018-07-06">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="mxCurve (mxGraph 3.9.8 API Specification)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxCurve.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><p><b>mxGraph 3.9.8</b></p></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/mxgraph/util/mxConstants.html" title="class in com.mxgraph.util"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../com/mxgraph/util/mxDomUtils.html" title="class in com.mxgraph.util"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/util/mxCurve.html" target="_top">Frames</a></li>
<li><a href="mxCurve.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.mxgraph.util</div>
<h2 title="Class mxCurve" class="title">Class mxCurve</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.mxgraph.util.mxCurve</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">mxCurve</span>
extends java.lang.Object</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#CORE_CURVE">CORE_CURVE</a></span></code>
<div class="block">Defines the key for the central curve index</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.Map<java.lang.String,java.lang.Double></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#curveLengths">curveLengths</a></span></code>
<div class="block">The curve lengths of the curves</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#guidePoints">guidePoints</a></span></code>
<div class="block">The points this curve is drawn through.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.Map<java.lang.String,double[]></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intervals">intervals</a></span></code>
<div class="block">An array of arrays of intervals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/mxgraph/util/mxLine.html" title="class in com.mxgraph.util">mxLine</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#INVALID_POSITION">INVALID_POSITION</a></span></code>
<div class="block">Indicates that an invalid position on a curve was requested</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#LABEL_CURVE">LABEL_CURVE</a></span></code>
<div class="block">Defines the key for the label curve index</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#labelBuffer">labelBuffer</a></span></code>
<div class="block">Offset of the label curve from the curve the label curve is based on.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#maxXBounds">maxXBounds</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#maxYBounds">maxYBounds</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#minXBounds">minXBounds</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#minYBounds">minYBounds</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.Map<java.lang.String,<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[]></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#points">points</a></span></code>
<div class="block">A collection of arrays of curve points</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#valid">valid</a></span></code>
<div class="block">Whether or not the curve currently holds valid values</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#mxCurve--">mxCurve</a></span>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#mxCurve-java.util.List-">mxCurve</a></span>(java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> points)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#collisionMove-java.lang.String-com.mxgraph.util.mxRectangle-double-">collisionMove</a></span>(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
double buffer)</code>
<div class="block">Returns a point to move the input rectangle to, in order to
attempt to place the rectangle away from the curve.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#createCoreCurve--">createCoreCurve</a></span>()</code>
<div class="block">Creates the core curve that is based on the guide points passed into
this class instance</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#createLabelCurve--">createLabelCurve</a></span>()</code> </td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getBaseLabelCurve--">getBaseLabelCurve</a></span>()</code>
<div class="block">Returns the curve the label curve is too be based on</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getBounds--">getBounds</a></span>()</code> </td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getCurveLength-java.lang.String-">getCurveLength</a></span>(java.lang.String index)</code> </td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxLine.html" title="class in com.mxgraph.util">mxLine</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getCurveParallel-java.lang.String-double-">getCurveParallel</a></span>(java.lang.String index,
double distance)</code>
<div class="block">Returns a unit vector parallel to the curve at the specified
distance along the curve.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getCurvePoints-java.lang.String-">getCurvePoints</a></span>(java.lang.String index)</code>
<div class="block">Obtains the points that make up the curve for the specified
curve index.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getCurveSection-java.lang.String-double-double-">getCurveSection</a></span>(java.lang.String index,
double start,
double end)</code>
<div class="block">Returns a section of the curve as an array of points</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getGuidePoints--">getGuidePoints</a></span>()</code> </td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getIntervals-java.lang.String-">getIntervals</a></span>(java.lang.String index)</code> </td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getLowerIndexOfSegment-java.lang.String-double-">getLowerIndexOfSegment</a></span>(java.lang.String index,
double distance)</code>
<div class="block">Calculates the index of the lower point on the segment
that contains the point <i>distance</i> along the</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#getRelativeFromAbsPoint-com.mxgraph.util.mxPoint-java.lang.String-">getRelativeFromAbsPoint</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> absPoint,
java.lang.String index)</code>
<div class="block">Calculates the position of an absolute in terms relative
to this curve.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterPoint-java.lang.String-com.mxgraph.util.mxRectangle-int-">intersectRectPerimeterPoint</a></span>(java.lang.String curveIndex,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
int indexSeg)</code>
<div class="block">Returns the point at which this curve segment intersects the boundary
of the given rectangle, if it does so.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterSeg-java.lang.String-com.mxgraph.util.mxRectangle-">intersectRectPerimeterSeg</a></span>(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</code>
<div class="block">Utility method to determine within which segment the specified rectangle
intersects the specified curve</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterSeg-java.lang.String-com.mxgraph.util.mxRectangle-int-">intersectRectPerimeterSeg</a></span>(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
int startSegment)</code>
<div class="block">Utility method to determine within which segment the specified rectangle
intersects the specified curve.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectsRect-java.awt.Rectangle-">intersectsRect</a></span>(java.awt.Rectangle rect)</code>
<div class="block">Returns whether or not the rectangle passed in hits any part of this
curve.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectsRectPerimeter-java.lang.String-com.mxgraph.util.mxRectangle-">intersectsRectPerimeter</a></span>(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</code>
<div class="block">Returns the point at which this curve intersects the boundary of
the given rectangle, if it does so.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#intersectsRectPerimeterDist-java.lang.String-com.mxgraph.util.mxRectangle-">intersectsRectPerimeterDist</a></span>(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</code>
<div class="block">Returns the distance from the start of the curve at which this
curve intersects the boundary of the given rectangle, if it does
so.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#isLabelReversed--">isLabelReversed</a></span>()</code>
<div class="block">Whether or not the label curve starts from the end target
and traces to the start of the branch</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#populateIntervals-java.lang.String-">populateIntervals</a></span>(java.lang.String index)</code> </td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#setLabelBuffer-double-">setLabelBuffer</a></span>(double buffer)</code> </td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#updateBounds-double-double-">updateBounds</a></span>(double pointX,
double pointY)</code>
<div class="block">Updates the total bounds of this curve, increasing any dimensions,
if necessary, to fit in the specified point</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#updateCurve-java.util.List-">updateCurve</a></span>(java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> newPoints)</code>
<div class="block">Updates the existing curve using the points passed in.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/util/mxCurve.html#validateCurve--">validateCurve</a></span>()</code>
<div class="block">Method must be called before any attempt to access curve information</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="points">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>points</h4>
<pre>protected java.util.Map<java.lang.String,<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[]> points</pre>
<div class="block">A collection of arrays of curve points</div>
</li>
</ul>
<a name="minXBounds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minXBounds</h4>
<pre>protected double minXBounds</pre>
</li>
</ul>
<a name="maxXBounds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxXBounds</h4>
<pre>protected double maxXBounds</pre>
</li>
</ul>
<a name="minYBounds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minYBounds</h4>
<pre>protected double minYBounds</pre>
</li>
</ul>
<a name="maxYBounds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxYBounds</h4>
<pre>protected double maxYBounds</pre>
</li>
</ul>
<a name="intervals">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intervals</h4>
<pre>protected java.util.Map<java.lang.String,double[]> intervals</pre>
<div class="block">An array of arrays of intervals. These intervals define the distance
along the edge (0 to 1) that each point lies</div>
</li>
</ul>
<a name="curveLengths">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>curveLengths</h4>
<pre>protected java.util.Map<java.lang.String,java.lang.Double> curveLengths</pre>
<div class="block">The curve lengths of the curves</div>
</li>
</ul>
<a name="CORE_CURVE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CORE_CURVE</h4>
<pre>public static java.lang.String CORE_CURVE</pre>
<div class="block">Defines the key for the central curve index</div>
</li>
</ul>
<a name="LABEL_CURVE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LABEL_CURVE</h4>
<pre>public static java.lang.String LABEL_CURVE</pre>
<div class="block">Defines the key for the label curve index</div>
</li>
</ul>
<a name="INVALID_POSITION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INVALID_POSITION</h4>
<pre>public static <a href="../../../com/mxgraph/util/mxLine.html" title="class in com.mxgraph.util">mxLine</a> INVALID_POSITION</pre>
<div class="block">Indicates that an invalid position on a curve was requested</div>
</li>
</ul>
<a name="labelBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>labelBuffer</h4>
<pre>protected double labelBuffer</pre>
<div class="block">Offset of the label curve from the curve the label curve is based on.
If you wish to set this value, do so directly after creation of the curve.
The first time the curve is used the label curve will be created with
whatever value is contained in this variable. Changes to it after that point
will have no effect.</div>
</li>
</ul>
<a name="guidePoints">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>guidePoints</h4>
<pre>public java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> guidePoints</pre>
<div class="block">The points this curve is drawn through. These are typically control
points and are at distances from each other that straight lines
between them do not describe a smooth curve. This class takes
these guiding points and creates a finer set of internal points
that visually appears to be a curve when linked by straight lines</div>
</li>
</ul>
<a name="valid">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valid</h4>
<pre>protected boolean valid</pre>
<div class="block">Whether or not the curve currently holds valid values</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="mxCurve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCurve</h4>
<pre>public mxCurve()</pre>
</li>
</ul>
<a name="mxCurve-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxCurve</h4>
<pre>public mxCurve(java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> points)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setLabelBuffer-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLabelBuffer</h4>
<pre>public void setLabelBuffer(double buffer)</pre>
</li>
</ul>
<a name="getBounds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBounds</h4>
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBounds()</pre>
</li>
</ul>
<a name="getLowerIndexOfSegment-java.lang.String-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLowerIndexOfSegment</h4>
<pre>protected int getLowerIndexOfSegment(java.lang.String index,
double distance)</pre>
<div class="block">Calculates the index of the lower point on the segment
that contains the point <i>distance</i> along the</div>
</li>
</ul>
<a name="getCurveParallel-java.lang.String-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurveParallel</h4>
<pre>public <a href="../../../com/mxgraph/util/mxLine.html" title="class in com.mxgraph.util">mxLine</a> getCurveParallel(java.lang.String index,
double distance)</pre>
<div class="block">Returns a unit vector parallel to the curve at the specified
distance along the curve. To obtain the angle the vector makes
with (1,0) perform Math.atan(segVectorY/segVectorX).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>distance</code> - the distance from start to end of curve (0.0...1.0)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a unit vector at the specified point on the curve represented
as a line, parallel with the curve. If the distance or curve is
invalid, <code>mxCurve.INVALID_POSITION</code> is returned</dd>
</dl>
</li>
</ul>
<a name="getCurveSection-java.lang.String-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurveSection</h4>
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[] getCurveSection(java.lang.String index,
double start,
double end)</pre>
<div class="block">Returns a section of the curve as an array of points</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>start</code> - the start position of the curve segment (0.0...1.0)</dd>
<dd><code>end</code> - the end position of the curve segment (0.0...1.0)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a sequence of point representing the curve section or null
if it cannot be calculated</dd>
</dl>
</li>
</ul>
<a name="intersectsRect-java.awt.Rectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectsRect</h4>
<pre>public boolean intersectsRect(java.awt.Rectangle rect)</pre>
<div class="block">Returns whether or not the rectangle passed in hits any part of this
curve.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rect</code> - the rectangle to detect for a hit</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether or not the rectangle hits this curve</dd>
</dl>
</li>
</ul>
<a name="intersectsRectPerimeter-java.lang.String-com.mxgraph.util.mxRectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectsRectPerimeter</h4>
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> intersectsRectPerimeter(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</pre>
<div class="block">Returns the point at which this curve intersects the boundary of
the given rectangle, if it does so. If it does not intersect,
null is returned. If it intersects multiple times, the first
intersection from the start end of the curve is returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the whose boundary is to be tested for intersection
with this curve</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the point at which this curve intersects the boundary of
the given rectangle, if it does so. If it does not intersect,
null is returned.</dd>
</dl>
</li>
</ul>
<a name="intersectsRectPerimeterDist-java.lang.String-com.mxgraph.util.mxRectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectsRectPerimeterDist</h4>
<pre>public double intersectsRectPerimeterDist(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</pre>
<div class="block">Returns the distance from the start of the curve at which this
curve intersects the boundary of the given rectangle, if it does
so. If it does not intersect, -1 is returned.
If it intersects multiple times, the first intersection from
the start end of the curve is returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the whose boundary is to be tested for intersection
with this curve</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the distance along the curve from the start at which
the intersection occurs</dd>
</dl>
</li>
</ul>
<a name="collisionMove-java.lang.String-com.mxgraph.util.mxRectangle-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collisionMove</h4>
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> collisionMove(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
double buffer)</pre>
<div class="block">Returns a point to move the input rectangle to, in order to
attempt to place the rectangle away from the curve. NOTE: Curves
are scaled, the input rectangle should be also.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the rectangle that is to be moved</dd>
<dd><code>buffer</code> - the amount by which the rectangle is to be moved,
beyond the dimensions of the rect</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the point to move the top left of the input rect to
, otherwise null if no point can be determined</dd>
</dl>
</li>
</ul>
<a name="intersectRectPerimeterSeg-java.lang.String-com.mxgraph.util.mxRectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectRectPerimeterSeg</h4>
<pre>protected int intersectRectPerimeterSeg(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect)</pre>
<div class="block">Utility method to determine within which segment the specified rectangle
intersects the specified curve</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the whose boundary is to be tested for intersection
with this curve</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the point at which this curve intersects the boundary of
the given rectangle, if it does so. If it does not intersect,
-1 is returned</dd>
</dl>
</li>
</ul>
<a name="intersectRectPerimeterSeg-java.lang.String-com.mxgraph.util.mxRectangle-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectRectPerimeterSeg</h4>
<pre>protected int intersectRectPerimeterSeg(java.lang.String index,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
int startSegment)</pre>
<div class="block">Utility method to determine within which segment the specified rectangle
intersects the specified curve. This method specifies which segment to
start searching at.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the whose boundary is to be tested for intersection
with this curve</dd>
<dd><code>startSegment</code> - the segment to start searching at. To start at the
beginning of the curve, use 1, not 0.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the point at which this curve intersects the boundary of
the given rectangle, if it does so. If it does not intersect,
-1 is returned</dd>
</dl>
</li>
</ul>
<a name="intersectRectPerimeterPoint-java.lang.String-com.mxgraph.util.mxRectangle-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersectRectPerimeterPoint</h4>
<pre>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> intersectRectPerimeterPoint(java.lang.String curveIndex,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> rect,
int indexSeg)</pre>
<div class="block">Returns the point at which this curve segment intersects the boundary
of the given rectangle, if it does so. If it does not intersect,
null is returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>curveIndex</code> - the curve index specifying the curve to analyse</dd>
<dd><code>rect</code> - the whose boundary is to be tested for intersection
with this curve</dd>
<dd><code>indexSeg</code> - the segments on this curve being checked</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the point at which this curve segment intersects the boundary
of the given rectangle, if it does so. If it does not intersect,
null is returned.</dd>
</dl>
</li>
</ul>
<a name="getRelativeFromAbsPoint-com.mxgraph.util.mxPoint-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRelativeFromAbsPoint</h4>
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getRelativeFromAbsPoint(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> absPoint,
java.lang.String index)</pre>
<div class="block">Calculates the position of an absolute in terms relative
to this curve.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>absPoint</code> - the point whose relative point is to calculated</dd>
<dd><code>index</code> - the index of the curve whom the relative position is to be
calculated from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an mxRectangle where the x is the distance along the curve
(0 to 1), y is the orthogonal offset from the closest segment on the
curve and (width, height) is an additional Cartesian offset applied
after the other calculations</dd>
</dl>
</li>
</ul>
<a name="createCoreCurve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCoreCurve</h4>
<pre>protected void createCoreCurve()</pre>
<div class="block">Creates the core curve that is based on the guide points passed into
this class instance</div>
</li>
</ul>
<a name="isLabelReversed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLabelReversed</h4>
<pre>public boolean isLabelReversed()</pre>
<div class="block">Whether or not the label curve starts from the end target
and traces to the start of the branch</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the label curve is reversed</dd>
</dl>
</li>
</ul>
<a name="createLabelCurve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLabelCurve</h4>
<pre>protected void createLabelCurve()</pre>
</li>
</ul>
<a name="getBaseLabelCurve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBaseLabelCurve</h4>
<pre>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[] getBaseLabelCurve()</pre>
<div class="block">Returns the curve the label curve is too be based on</div>
</li>
</ul>
<a name="populateIntervals-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>populateIntervals</h4>
<pre>protected void populateIntervals(java.lang.String index)</pre>
</li>
</ul>
<a name="updateCurve-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCurve</h4>
<pre>public void updateCurve(java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> newPoints)</pre>
<div class="block">Updates the existing curve using the points passed in.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newPoints</code> - the new guide points</dd>
</dl>
</li>
</ul>
<a name="getCurvePoints-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurvePoints</h4>
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>[] getCurvePoints(java.lang.String index)</pre>
<div class="block">Obtains the points that make up the curve for the specified
curve index. If that curve, or the core curve that other curves
are based on have not yet been created, then they are lazily
created. If creation is impossible, null is returned</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the key specifying the curve</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the points making up that curve, or null</dd>
</dl>
</li>
</ul>
<a name="getIntervals-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntervals</h4>
<pre>public double[] getIntervals(java.lang.String index)</pre>
</li>
</ul>
<a name="getCurveLength-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurveLength</h4>
<pre>public double getCurveLength(java.lang.String index)</pre>
</li>
</ul>
<a name="validateCurve--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateCurve</h4>
<pre>protected boolean validateCurve()</pre>
<div class="block">Method must be called before any attempt to access curve information</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether or not the curve may be used</dd>
</dl>
</li>
</ul>
<a name="updateBounds-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateBounds</h4>
<pre>protected void updateBounds(double pointX,
double pointY)</pre>
<div class="block">Updates the total bounds of this curve, increasing any dimensions,
if necessary, to fit in the specified point</div>
</li>
</ul>
<a name="getGuidePoints--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getGuidePoints</h4>
<pre>public java.util.List<<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> getGuidePoints()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the guidePoints</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>