Exemplo n.º 1
0
 public RectangleD( RectangleD rect )
 {
     _UL = rect.UL;
     _LR = rect.LR;
 }
Exemplo n.º 2
0
 public RectangleD( PointD ul, PointD lr )
 {
     _UL = ul;
     _LR = lr;
 }
Exemplo 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 );
 }
Exemplo n.º 4
0
 public RectangleD()
 {
     _UL = new PointD( 0.0d, 0.0d );
     _LR = new PointD( 0.0d, 0.0d );
 }
Exemplo 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;
     }
 }
Exemplo n.º 6
0
 public PointD( PointD P )
 {
     _X = P.X;
     _Y = P.Y;
 }