Пример #1
0
        public HyperbolicParaboloid(Material mf, Material mb, String fName, int nx, int ny) : base(mf, mb)
        {
            hpi     = new HyperbolicParaboloidInfo(fName);
            this.nx = nx;
            this.ny = ny;
            PlaneMap pm = new PlaneMap(ROWS, COLUMNS);

            Triangulation(pm);
        }
Пример #2
0
        public HyperbolicParaboloid(Material mf, Material mb, double a, double b, double x_left, double x_right, double y_left, double y_right, int nx, int ny)
            : base(mf, mb)
        {
            hpi     = new HyperbolicParaboloidInfo(a, b, x_left, x_right, y_left, y_right);
            this.nx = nx;
            this.ny = ny;
            PlaneMap pm = new PlaneMap(ROWS, COLUMNS);

            Triangulation(pm);
        }