Searched refs:previousPoint (Results 1 – 2 of 2) sorted by relevance
121 Point2D.Float previousPoint = null; in approximate() local126 if (previousPoint != null && type != PathIterator.SEG_MOVETO) { in approximate()127 totalLength += (float) currentPoint.distance(previousPoint); in approximate()129 previousPoint = currentPoint; in approximate()136 previousPoint = null; in approximate()142 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f; in approximate()148 previousPoint = point; in approximate()
211 float[] previousPoint = new float[2]; in getFlatPathLength() local223 (float) Point2D.distance(previousPoint[0], previousPoint[1], segment[0], segment[1]); in getFlatPathLength()227 previousPoint[0] = segment[0]; in getFlatPathLength()228 previousPoint[1] = segment[1]; in getFlatPathLength()