public RectangleCoordinate(RectangleCoordinate copy)
 {
     this.TopRightXPos   = copy.TopRightXPos;
     this.TopRightYPos   = copy.TopRightYPos;
     this.BottomLeftXPos = copy.BottomLeftXPos;
     this.BottomLeftYPos = copy.BottomLeftYPos;
 }
 // conversion constructor
 public RectangleDimension(RectangleCoordinate coord)
 {
     this.x      = coord.TopRightXPos;
     this.y      = coord.TopRightYPos;
     this.width  = (coord.BottomLeftXPos - coord.TopRightXPos);
     this.height = (coord.BottomLeftYPos - coord.TopRightYPos);
 }
 public RectangleType(RectangleDimension dim)
 {
     rectCoord = new RectangleCoordinate(dim);
     rectDim   = new RectangleDimension(dim);
 }
        // constructors

        public RectangleType(RectangleCoordinate coord)
        {
            rectCoord = new RectangleCoordinate(coord);
            rectDim   = new RectangleDimension(coord);
        }