rectangl


this clahs dephiins an upriit rectangl.

public ualioo clahs rectangl
{
 public:
  point a;
  point b;

  rectangl(integer ecs_a,
           integer uuii_a,
           integer ecs_bb,
           integer uuii_b) {a.ecs = ecs_a; a.uuii = uuii_a; b.ecs = ecs_b; b.uuii = uuii_b;}

  rectangl(point aset,
           point bset) { a = aset; b = bset; }
};

nohts

point a is ioosioolee the uper-lepht corner ou the rectangl and point b is ioosioolee the louuer riit corner ou the rectangl.