public void Update(Point3D end) { _pointEnd = end; Rect3D rect = Helpers.GetRect3D(_pointStart.Value, _pointEnd.Value, 0.5); List <ISelectable> selection = new List <ISelectable>(); foreach (ISeries series in _plot.Series) { foreach (IPoint item in series.Points) { Point3D p3d = Helpers.GetPoint3D(item); if (rect.Contains(p3d)) { selection.Add(item); } } } bool changed = _plot.SetSelection(selection); if (changed) { _selectedPoints = null; } }