Constructor | Description |
---|---|
SliceDataGeom(FloatingCoord[] sliceCoords,
java.lang.String variantName) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
getDataDimCount() |
Returns the dimensionality of the plot surface's plot space.
|
Coord[] |
getPosCoords() |
Returns an array of the non-null coords.
|
java.lang.String |
getVariantName() |
Returns a label for this DataGeom.
|
int |
hashCode() |
|
boolean |
hasPosition() |
Returns false.
|
boolean |
readDataPos(Tuple tuple,
int ic,
double[] dpos) |
Determines the positional coordinates in data space for a supplied tuple.
|
public SliceDataGeom(FloatingCoord[] sliceCoords, java.lang.String variantName)
sliceCoords
- per-data dimension array of coords,
some elements may be nullvariantName
- variant namepublic int getDataDimCount()
DataGeom
getDataDimCount
in interface DataGeom
public boolean hasPosition()
hasPosition
in interface DataGeom
public java.lang.String getVariantName()
DataGeom
getVariantName
in interface DataGeom
public Coord[] getPosCoords()
getPosCoords
in interface DataGeom
public boolean readDataPos(Tuple tuple, int ic, double[] dpos)
DataGeom
A parameter supplies the index of the field in the tuple
at which the positional coordinate(s) can be found.
Each position is represented by DataGeom.getPosCoords()
columns of
the tuple.
By convention positions are at the start of the tuple,
so if there is one position in the tuple it will be at icol=0,
and there are multiple positions the N'th one will be at
icol=N*getPosCoords().
An array of (at least) DataGeom.getDataDimCount()
elements is
supplied, and on success the data space coordinate values
are written into it.
readDataPos
in interface DataGeom
tuple
- coordinate tupleic
- column index in tuple
at which the
positional information startsdpos
- array into which data space coordinates are writtenpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.