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

            if (OriginalStrokeSketchObject.gameObject.activeInHierarchy)
            {
                NewControlPoints = OriginalStrokeSketchObject.GetControlPoints();
            }
            else
            {
                NewControlPoints = null;
            }
            return(didDelete);
        }
    IEnumerator changeDiameter()
    {
        yield return(new WaitForSeconds(5));

        strokeSketchObject.DeleteControlPoints(deletePoint.transform.position, deleteRadius, out List <StrokeSketchObject> newLines);
        OBJExporter exporter   = new OBJExporter();
        string      exportPath = OBJExporter.GetDefaultExportPath();

        //exporter.ExportGameObject(lineSketchObject.gameObject, exportPath);
        //Debug.Log(JsonUtility.ToJson(lineSketchObject));
        //XMLSerializeTest();
        //XMLSerializeTest2();
        //exporter.ExportGameObject(controlPointParent, exportPath);
        strokeSketchObject.SetInterpolationSteps(4);
        strokeSketchObject.RefineMesh();
        strokeSketchObject2.RefineMesh();

        //Debug.Log(exportPath);
        //lineSketchObject.setLineDiameter(.1f);
        //yield return new WaitForSeconds(2);
        //lineSketchObject.deleteControlPoint();
        //lineSketchObject.deleteControlPoint();
    }
 private void OnTriggerStay(Collider other)
 {
     StrokeSketchObject.DeleteControlPoints(other.gameObject, transform.position, transform.lossyScale.x / 2);
 }