public EdgeViewModel(int index, Edge edge, BoundaryCondition condition)
 {
     Index = index;
     Edge = edge;
     Condition = condition;
     Types = new ObservableCollection<BoundaryConditionsType>(getTypesOfBoundaryConditions());
 }
 public PointViewModel(int index, Point point, BoundaryCondition condition)
 {
     Index = index;
     Point = point;
     Condition = condition;
     Types = new ObservableCollection<BoundaryConditionsType>(getTypesOfBoundaryConditions());
 }
 public void Copy(BoundaryCondition condition) 
 {
     Type = condition.Type;
     Value.Copy(condition.Value);
 }