org.jzy3d.plot3d.builder.concrete
Class RingTessellator

java.lang.Object
  extended by org.jzy3d.plot3d.builder.Tessellator
      extended by org.jzy3d.plot3d.builder.concrete.OrthonormalTessellator
          extended by org.jzy3d.plot3d.builder.concrete.RingTessellator

public class RingTessellator
extends OrthonormalTessellator


Field Summary
protected  ColorMapper cmap
           
protected  Color factor
           
protected  float ringMax
           
protected  float ringMin
           
 
Fields inherited from class org.jzy3d.plot3d.builder.concrete.OrthonormalTessellator
findxi, findyj, x, y, z
 
Constructor Summary
RingTessellator(float ringMin, float ringMax, ColorMapper cmap, Color factor)
           
 
Method Summary
 AbstractComposite build(float[] x, float[] y, float[] z)
           
 List<Polygon> getInterpolatedRingPolygons()
          Load data standing on an orthonormal grid.
protected  boolean[] isInside(Point[] p, float[] radius, float minRadius, float maxRadius)
          Indicates which point lies inside and outside the given min and max radius.
protected  float radius2d(Point p)
           
 
Methods inherited from class org.jzy3d.plot3d.builder.concrete.OrthonormalTessellator
find, getEstimatedQuadSurroundingPoint, getRealQuadStandingOnPoint, getSquarePolygonsAroundCoordinates, getSquarePolygonsAroundCoordinates, getSquarePolygonsOnCoordinates, getSquarePolygonsOnCoordinates, setData, unique, validZ, validZ
 
Methods inherited from class org.jzy3d.plot3d.builder.Tessellator
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ringMin

protected float ringMin

ringMax

protected float ringMax

cmap

protected ColorMapper cmap

factor

protected Color factor
Constructor Detail

RingTessellator

public RingTessellator(float ringMin,
                       float ringMax,
                       ColorMapper cmap,
                       Color factor)
Method Detail

build

public AbstractComposite build(float[] x,
                               float[] y,
                               float[] z)
Overrides:
build in class OrthonormalTessellator

getInterpolatedRingPolygons

public List<Polygon> getInterpolatedRingPolygons()
Load data standing on an orthonormal grid.
Each input point (i.e. the association of x[i], y[j], z[i][j]) will be represented by a polygon centered on this point. The default coordinates of this polygon will be: There are thus three types of polygons:

isInside

protected boolean[] isInside(Point[] p,
                             float[] radius,
                             float minRadius,
                             float maxRadius)
Indicates which point lies inside and outside the given min and max radius.


radius2d

protected float radius2d(Point p)