visad
Class VisADGeometryArray
java.lang.Object
visad.VisADSceneGraphObject
visad.VisADGeometryArray
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- ContourLabelGeometry, VisADIndexedTriangleStripArray, VisADLineArray, VisADLineStripArray, VisADPointArray, VisADQuadArray, VisADTriangleArray, VisADTriangleStripArray
public abstract class VisADGeometryArray
- extends VisADSceneGraphObject
- implements Cloneable
VisADGeometryArray stands in for j3d.GeometryArray
and is Serializable.
- See Also:
- Serialized Form
vertexCount
public int vertexCount
vertexFormat
public int vertexFormat
coordinates
public float[] coordinates
normals
public float[] normals
colors
public byte[] colors
texCoords
public float[] texCoords
VisADGeometryArray
public VisADGeometryArray()
adjustSeam
public VisADGeometryArray adjustSeam(DataRenderer renderer)
throws VisADException
- eliminate any vectors or triangles crossing seams of
map projections, defined by display-side CoordinateSystems;
this default implementation does nothing
- Throws:
VisADException
adjustLongitudeBulk
public VisADGeometryArray adjustLongitudeBulk(DataRenderer renderer)
throws VisADException
- like adjustLongitude, but rather than splitting vectors or
triangles, keep the VisADGeometryArray intact but possibly
move it in longitude (try to keep its centroid on the "main"
side of the seam)
- Throws:
VisADException
adjustLongitude
public VisADGeometryArray adjustLongitude(DataRenderer renderer)
throws VisADException
- split any vectors or triangles crossing crossing longitude
seams when Longitude is mapped to a Cartesian display axis;
default implementation: rotate if necessary, then return points
- Throws:
VisADException
removeMissing
public VisADGeometryArray removeMissing()
toString
public String toString()
- Overrides:
toString
in class Object
copy
public void copy(VisADGeometryArray array)
clone
public abstract Object clone()
- Overrides:
clone
in class Object