protected bool PointValidate(List <Vector3> points, Vector3 location) { AddPointCommand addCmd = new AddPointCommand(roadObject.Points, location); app.ExecuteCommand(addCmd); return(true); }
protected bool PointValidate(List <Vector3> points, Vector3 location) { if (!IntersectionHelperClass.BoundaryIntersectionSearch(points, location, points.Count)) { AddPointCommand addCmd = new AddPointCommand(region.Points, location); app.ExecuteCommand(addCmd); } else { ErrorHelper.SendUserError("Add region point failed", "Region", app.Config.ErrorDisplayTimeDefault, true, this, app); } return(true); }
protected bool PointValidate(List<Vector3> points, Vector3 location) { if (!IntersectionHelperClass.BoundaryIntersectionSearch(points, location, points.Count)) { AddPointCommand addCmd = new AddPointCommand(path.Points, path.TransformLocation(location)); app.ExecuteCommand(addCmd); path.DisplayRods(true); } else { ErrorHelper.SendUserError("Add region point failed","Region", app.Config.ErrorDisplayTimeDefault, true, this, app); } return true; }
protected bool PointValidate(List<Vector3> points, Vector3 location) { AddPointCommand addCmd = new AddPointCommand(roadObject.Points, location); app.ExecuteCommand(addCmd); return true; }