org.jzy3d.plot3d.builder.concrete
Class OrthonormalTesselator

java.lang.Object
  extended by org.jzy3d.plot3d.builder.Tesselator
      extended by org.jzy3d.plot3d.builder.concrete.OrthonormalTesselator
Direct Known Subclasses:
RingExtrapolator, RingInterpolator, RingTesselator

public class OrthonormalTesselator
extends Tesselator

The OrthonormalTesselator checks that coordinates are lying on an orthormal grid, and is able to provide a AbstractComposite made of Polygons built according to this grid On this model, one input coordinate is represented by one Polygon, for which each point is a mean point between two grid ticks: ^ ^ | | - + + + - + + + | | *---* - + o + >> - + | o | + | | *---* - + + + - + + + | | |---|---|---|--> |---|---|---|--> In this figure, the representation of a coordinate ("o" on the left) is a polygon made of mean points ("*" on the right) that require the existence of four surrounding points (the "o" and the three "+")

Author:
Martin Pernollet, Nils Hoffmann

Constructor Summary
OrthonormalTesselator()
           
 
Method Summary
 AbstractComposite build(float[] x, float[] y, float[] z)
           
 java.util.List<Polygon> getSquarePolygonsAroundCoordinates()
           
 java.util.List<Polygon> getSquarePolygonsAroundCoordinates(ColorMapper cmap, Color colorFactor)
           
 java.util.List<Polygon> getSquarePolygonsOnCoordinates()
           
 java.util.List<Polygon> getSquarePolygonsOnCoordinates(ColorMapper cmap, Color colorFactor)
           
 
Methods inherited from class org.jzy3d.plot3d.builder.Tesselator
build
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrthonormalTesselator

public OrthonormalTesselator()
Method Detail

build

public AbstractComposite build(float[] x,
                               float[] y,
                               float[] z)
Specified by:
build in class Tesselator

getSquarePolygonsOnCoordinates

public java.util.List<Polygon> getSquarePolygonsOnCoordinates()

getSquarePolygonsAroundCoordinates

public java.util.List<Polygon> getSquarePolygonsAroundCoordinates()

getSquarePolygonsOnCoordinates

public java.util.List<Polygon> getSquarePolygonsOnCoordinates(ColorMapper cmap,
                                                              Color colorFactor)

getSquarePolygonsAroundCoordinates

public java.util.List<Polygon> getSquarePolygonsAroundCoordinates(ColorMapper cmap,
                                                                  Color colorFactor)