public bool Execute()
        {
            this.OriginalControlPoints = OriginalLineSketchObject.GetControlPoints();
            bool didDelete = OriginalLineSketchObject.DeleteControlPoints(Point, Radius, out NewLines);

            if (OriginalLineSketchObject.gameObject.activeInHierarchy)
            {
                NewControlPoints = OriginalLineSketchObject.GetControlPoints();
            }
            else
            {
                NewControlPoints = null;
            }
            return(didDelete);
        }
 public bool Execute()
 {
     this.OldControlPoint = LineSketchObject.GetControlPoints()[LineSketchObject.getNumberOfControlPoints() - 1];
     LineSketchObject.DeleteControlPoint();
     if (this.LineSketchObject.getNumberOfControlPoints() == 0)
     {
         SketchWorld.ActiveSketchWorld.DeleteObject(this.LineSketchObject);
     }
     return(true);
 }
 public RefineMeshCommand(LineSketchObject lineSketchObject)
 {
     this.LineSketchObject = lineSketchObject;
     OriginalControlPoints = lineSketchObject.GetControlPoints();
 }