コード例 #1
0
 /// <summary>
 /// Масштабирование
 /// </summary>
 public RangeMicrostation Scale(double scaleFactor) =>
 new RangeMicrostation(LowLeftPoint.Multiply(scaleFactor), HighRightPoint.Multiply(scaleFactor));
コード例 #2
0
 /// <summary>
 /// Сдвиг по координатам
 /// </summary>
 public RangeMicrostation Offset(PointMicrostation offset) =>
 new RangeMicrostation(LowLeftPoint.Add(offset), HighRightPoint.Add(offset));