|
@@ -309,19 +309,19 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
// boundary is invalid
|
|
|
return ;
|
|
|
}
|
|
|
- if (pSTD != null)
|
|
|
- {
|
|
|
- // STD has to be inside of the boundary
|
|
|
- if (!pBoundary.DomainInDomain(pSTD))
|
|
|
- {
|
|
|
- MessageBox.Show("STD is over the boundary!");
|
|
|
- return ;
|
|
|
- }
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- return ;
|
|
|
- }
|
|
|
+ //if (pSTD != null)
|
|
|
+ //{
|
|
|
+ // // STD has to be inside of the boundary
|
|
|
+ // if (!pBoundary.DomainInDomain(pSTD))
|
|
|
+ // {
|
|
|
+ // MessageBox.Show("STD is over the boundary!");
|
|
|
+ // return ;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
+ //else
|
|
|
+ //{
|
|
|
+ // return ;
|
|
|
+ //}
|
|
|
|
|
|
// hole has to be inside of the boundary and can't have common part with STD and each other
|
|
|
List<CHole> listStageHoles = new List<CHole>();
|