2009-12-11 06:48:37 -06:00
|
|
|
#ifndef __GDS_RECTANGLE_H
|
|
|
|
#define __GDS_RECTANGLE_H
|
|
|
|
|
|
|
|
#include <fstream>
|
|
|
|
|
|
|
|
#include "GdsElement.h"
|
|
|
|
|
2010-05-18 10:10:35 -05:00
|
|
|
namespace vlsisapd {
|
2009-12-11 06:48:37 -06:00
|
|
|
class GdsRectangle : public GdsElement {
|
|
|
|
public:
|
2010-05-17 09:40:32 -05:00
|
|
|
GdsRectangle (int layer, double xmin, double ymin, double xmax, double ymax);
|
|
|
|
virtual ~GdsRectangle ();
|
|
|
|
virtual bool write ( ofstream &file );
|
2009-12-11 06:48:37 -06:00
|
|
|
private:
|
|
|
|
double _xmin;
|
|
|
|
double _ymin;
|
|
|
|
double _xmax;
|
|
|
|
double _ymax;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|