Esempio n. 1
0
 public RectangleD( RectangleD rect )
 {
     _UL = rect.UL;
     _LR = rect.LR;
 }
Esempio n. 2
0
 public RectangleD( PointD ul, PointD lr )
 {
     _UL = ul;
     _LR = lr;
 }
Esempio n. 3
0
 public RectangleD( double ul_x, double ul_y, double lr_x, double lr_y )
 {
     _UL = new PointD( ul_x, ul_y );
     _LR = new PointD( lr_x, lr_y );
 }
Esempio n. 4
0
 public RectangleD()
 {
     _UL = new PointD( 0.0d, 0.0d );
     _LR = new PointD( 0.0d, 0.0d );
 }
Esempio n. 5
0
 /// <summary>
 /// Checks to see if the GIS.PointD object is in inside this rectangle
 /// </summary>
 /// @param point the point to test
 /// @returns true if the point is inside this rectangle
 public bool Contains( PointD point )
 {
     if ( point > _UL && point < _LR ) // overloads in PointD.cs
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Esempio n. 6
0
 public PointD( PointD P )
 {
     _X = P.X;
     _Y = P.Y;
 }