Esempio n. 1
0
 public ClassTransformdisplayPoint(ClassTransformPointPair withMe, Int32 decimalesCoord, Int32 decimalesRiwi)
 {
     if (withMe == null)
     {
         throw new ArgumentNullException("withme must not null!");
     }
     pointpair           = withMe;
     this.decimalesCoord = decimalesCoord;
     this.decimalesRiwi  = decimalesRiwi;
 }
Esempio n. 2
0
 public void prepare()
 {
     dstPoints.sortBy(enPointColumn.colPointnumber);
     matchPoints.Clear();
     foreach (ClassCADdyPunkt dstPoint in dstPoints.Punkte)
     {
         ClassCADdyPunkt srcPoint = srcPoints.getPointByName(dstPoint.Punktnummer);
         if (srcPoint != null)
         {
             ClassTransformPointPair matchPoint = new ClassTransformPointPair(srcPoint, dstPoint);
             matchPoints.Add(matchPoint);
         }
     }
 }
Esempio n. 3
0
 public void setUsing(ClassTransformPointPair fromMe)
 {
     if (fromMe != null)
     {
         foreach (ClassTransformPointPair matchPoint in matchPoints)
         {
             if (matchPoint.PointName.ToLower().Equals(fromMe.PointName.ToLower()))
             {
                 matchPoint.BUsePoint = fromMe.BUsePoint;
                 matchPoint.BUseZ     = fromMe.BUseZ;
                 break;
             }
         }
     }
 }