## org.das2.qds.GridDataSet

grids a bundle of (X,Y,Z) data into a table Z(X,Y).

## GridDataSet( )

creates the dataset, initially length is zero.

## add

add( QDataSet slice ) → void

add either rank 1 slice ( x,y,z ) or add rank 2 dataset ( *,3 )

### Parameters

slice - rank 1 or rank 2 bundle

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## add

add( double x, double y, double z ) → void

add the tuple to the data for gridding. If the x tag or y tag has already been used, then start a new column or row.

### Parameters

x - the x tag
y - the y tag
z - the z value at x,y.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## length

length( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]
length( int i ) → int [view source]

## property

property( String name ) → Object

### Parameters

name - a String

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## rank

rank( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## value

value( int i0, int i1 ) → double

### Parameters

i0 - an int
i1 - an int

### Returns:

double
[search for examples] [view on GitHub] [view on old javadoc] [view source]