public void SelectPoint(int index) { if (!SelectedPointsIndices.Contains(index)) { SelectedPointsIndices.Add(index); } }
public void ClearSelection() { SelectedPointsIndices.Clear(); }
public void UnselectPoint(int index) { SelectedPointsIndices.Remove(index); }
public bool IsSelected(int index) { return(SelectedPointsIndices.Contains(index)); }