private bool NoPointsInCircle(List <Vector2D> pointCloud, Circle2D circle, Triangle t) { Rectangle2D boundingRect = new Rectangle2D(circle); for (int i = 0; i < pointCloud.Count; i++) { if (boundingRect.IsInside(pointCloud[i])) { if ((t.a != i) && (t.b != i) && (t.c != i) && (circle.IsInside(pointCloud[i]))) { return(false); } } } return(true); }