protected override bool Update() { while (Arc.NumberOfVertices > 0) { Arc.TryRemoveVertexAt(Arc.NumberOfVertices - 1); } if (Points.Count < 3) { for (int i = 0; i < Points.Count; i++) { Arc.AddOrSetVertexAt(i, Points[i], 0, 0, 0); } } else { var bulge = GetBulge(Points[0], Points[1], Points[2]); Arc.AddOrSetVertexAt(0, Points[0], bulge, 0, 0); Arc.AddOrSetVertexAt(1, Points[1], 0, 0, 0); Arc.AddOrSetVertexAt(2, Points[2], 0, 0, 0); } return(true); }