All Packages Class Hierarchy This Package Previous Next Index
Class grapher.IsoCurve
java.lang.Object
|
+----grapher.IsoCurve
- public class IsoCurve
- extends java.lang.Object
Class IsoCurve
Version 1.0 February 1996
Copyright (C) 1996 Leigh Brookshaw
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
This class will calculate the curve of a given value passing
through a grid of values
-
ARRAYSIZE
-
-
BOTTOM
-
-
cells
-
Variables
-
curve
-
-
grid
-
-
LEFT
-
-
MAXARRAYSIZE
-
-
nx
-
-
ny
-
-
RIGHT
-
-
size
-
-
TERMINAL
-
Constants
-
TOP
-
-
value
-
-
IsoCurve()
-
Constructors
-
IsoCurve(double[], int, int)
-
-
addDataPoint(double, double)
-
-
addDataPoint(int, int, int)
-
-
createCells()
-
Protected Methods
-
getcurve()
-
-
getCurve()
-
-
getPoint(int, int, int)
-
-
search(int, int)
-
-
setGrid(double[], int, int)
-
Public Methods
-
setValue(double)
-
TERMINAL
static final int TERMINAL
- Constants
LEFT
static final int LEFT
RIGHT
static final int RIGHT
TOP
static final int TOP
BOTTOM
static final int BOTTOM
ARRAYSIZE
static final int ARRAYSIZE
MAXARRAYSIZE
static final int MAXARRAYSIZE
cells
protected java.util.Vector cells
- Variables
grid
protected double grid[]
nx
protected int nx
ny
protected int ny
curve
protected double curve[]
size
protected int size
value
protected double value
IsoCurve
public IsoCurve()
- Constructors
IsoCurve
public IsoCurve(double grid[],
int nx,
int ny)
setGrid
public void setGrid(double grid[],
int nx,
int ny)
- Public Methods
setValue
public void setValue(double value)
getCurve
public double[] getCurve()
createCells
protected void createCells()
- Protected Methods
getcurve
protected void getcurve()
getPoint
protected double[] getPoint(int wall,
int icell,
int jcell)
addDataPoint
protected void addDataPoint(int wall,
int icell,
int jcell)
addDataPoint
protected void addDataPoint(double x,
double y)
search
protected grapher.Cell search(int icell,
int jcell)
All Packages Class Hierarchy This Package Previous Next Index