Exemple #1
0
 public UpdatingDivisionedGeometryInfo(UpdatingDivisionedGeometryStage stage, int currentDivision, int currentVertex, GettingGeneratedDivisionIBInfo gettingGeneratedDivisionIBInfo)
 {
     this.Stage           = stage;
     this.CurrentDivision = currentDivision;
     this.CurrentVertex   = currentVertex;
     this.GettingGeneratedDivisionIBInfo = gettingGeneratedDivisionIBInfo;
 }
Exemple #2
0
 //Handles events that are raised from when inside the GettingGeneratedDivisionIB method. Only active when inside UpdateDivisionedGeometry method and at the calling of the GettingGeneratedDivisionIB  method from there
 private void OnGettingGeneratedDivisionIB(GettingGeneratedDivisionIBInfo info)
 {
     //Alert - UpdatingDivisionedGeometry (no need for checks because this method is only used after checking that the event is used)
     this.UpdatingDivisionedGeometry(new UpdatingDivisionedGeometryInfo(UpdatingDivisionedGeometryStage.GettingGeneratedDivisionIB, this.paramInt, -1, info));             //this.paramInt is the number of division that is updated
 }