コード例 #1
0
 public AbstractPoint(Orientation naturalOrientation, Orientation actualOrientation, double realX, double realY)
 {
     this           = new AbstractPoint(naturalOrientation, actualOrientation);
     _abstractPoint = IsNatural ? new Point(realX, realY) : new Point(realY, realX);
 }
コード例 #2
0
 public AbstractPoint(Orientation naturalOrientation, Orientation actualOrientation, Point realPoint)
 {
     this           = new AbstractPoint(naturalOrientation, actualOrientation);
     _abstractPoint = IsNatural ? realPoint : Invert(realPoint);
 }