org.jzy3d.plot3d.builder.concrete
Class OrthonormalTesselator
java.lang.Object
org.jzy3d.plot3d.builder.Tesselator
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 Polygon
s 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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrthonormalTesselator
public OrthonormalTesselator()
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)