if (isArrow && nVertices != -2)
isArrow = false;
} else if (nVertices == 2 && length != Float.MAX_VALUE) {
Measure.calcAveragePoint(ptList[0], ptList[1], center);
normal.set(ptList[1]);
normal.sub(center);
normal.scale(0.5f / normal.length() * (length == 0 ? 0.01f : length));
if (length == 0)
center.set(ptList[0]);
ptList[0].set(center);
ptList[1].set(ptList[0]);