<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Double.html?is-external=true"title="class or interface in java.lang">Double</a>></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,double[]></code></td>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>[]></code></td>
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#mxCurve(java.util.List)">mxCurve</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#collisionMove(java.lang.String, com.mxgraph.util.mxRectangle, double)">collisionMove</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getCurveLength(java.lang.String)">getCurveLength</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getCurveParallel(java.lang.String, double)">getCurveParallel</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getCurvePoints(java.lang.String)">getCurvePoints</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getCurveSection(java.lang.String, double, double)">getCurveSection</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getIntervals(java.lang.String)">getIntervals</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getLowerIndexOfSegment(java.lang.String, double)">getLowerIndexOfSegment</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<divclass="block">Calculates the index of the lower point on the segment
that contains the point <i>distance</i> along the</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#getRelativeFromAbsPoint(com.mxgraph.util.mxPoint, java.lang.String)">getRelativeFromAbsPoint</a></strong>(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> absPoint,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterPoint(java.lang.String, com.mxgraph.util.mxRectangle, int)">intersectRectPerimeterPoint</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> curveIndex,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterSeg(java.lang.String, com.mxgraph.util.mxRectangle)">intersectRectPerimeterSeg</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectRectPerimeterSeg(java.lang.String, com.mxgraph.util.mxRectangle, int)">intersectRectPerimeterSeg</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectsRect(java.awt.Rectangle)">intersectsRect</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> rect)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectsRectPerimeter(java.lang.String, com.mxgraph.util.mxRectangle)">intersectsRectPerimeter</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#intersectsRectPerimeterDist(java.lang.String, com.mxgraph.util.mxRectangle)">intersectsRectPerimeterDist</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#populateIntervals(java.lang.String)">populateIntervals</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxCurve.html#updateCurve(java.util.List)">updateCurve</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> newPoints)</code>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>[]> points</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,double[]> intervals</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Double.html?is-external=true"title="class or interface in java.lang">Double</a>> curveLengths</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> CORE_CURVE</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> LABEL_CURVE</pre>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> guidePoints</pre>
<pre>public mxCurve(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points)</pre>
<pre>protected int getLowerIndexOfSegment(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<pre>public <ahref="../../../com/mxgraph/util/mxLine.html"title="class in com.mxgraph.util">mxLine</a> getCurveParallel(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
with (1,0) perform Math.atan(segVectorY/segVectorX).</div>
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>a unit vector at the specified point on the curve represented
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>[] getCurveSection(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<divclass="block">Returns a section of the curve as an array of points</div>
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>a sequence of point representing the curve section or null
<pre>public boolean intersectsRect(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> rect)</pre>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> intersectsRectPerimeter(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
intersection from the start end of the curve is returned.</div>
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>the point at which this curve intersects the boundary of
<pre>public double intersectsRectPerimeterDist(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>the distance along the curve from the start at which
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> collisionMove(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
are scaled, the input rectangle should be also.</div>
<dl><dt><spanclass="strong">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><spanclass="strong">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>
<pre>protected int intersectRectPerimeterSeg(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> rect)</pre>
<divclass="block">Utility method to determine within which segment the specified rectangle
intersects the specified curve</div>
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>the point at which this curve intersects the boundary of
<pre>protected int intersectRectPerimeterSeg(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index,
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>the point at which this curve intersects the boundary of
<pre>protected <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> intersectRectPerimeterPoint(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> curveIndex,
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>the point at which this curve segment intersects the boundary
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getRelativeFromAbsPoint(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> absPoint,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</pre>
<divclass="block">Calculates the position of an absolute in terms relative
to this curve.</div>
<dl><dt><spanclass="strong">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><spanclass="strong">Returns:</span></dt><dd>an mxRectangle where the x is the distance along the curve
<pre>protected void populateIntervals(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</pre>
<pre>public void updateCurve(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> newPoints)</pre>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>[] getCurvePoints(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</pre>
<pre>public double[] getIntervals(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</pre>
<pre>public double getCurveLength(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> index)</pre>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> getGuidePoints()</pre>