f="../view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state)</pre>
<div class="block">Returns the Euclidean length of the edge defined by the absolute
 points in the given state or 0 if no points are defined.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="mxICostFunction.html#getCost(com.mxgraph.view.mxCellState)">getCost</a></code>&nbsp;in interface&nbsp;<code><a href="mxICostFunction.html" title="interface in com.mxgraph.analysi