public class RingTessellator extends OrthonormalTessellator
Modifier and Type | Field and Description |
---|---|
protected ColorMapper |
cmap |
protected Color |
factor |
protected float |
ringMax |
protected float |
ringMin |
Constructor and Description |
---|
RingTessellator(float ringMin,
float ringMax,
ColorMapper cmap,
Color factor) |
Modifier and Type | Method and Description |
---|---|
AbstractComposite |
build(float[] x,
float[] y,
float[] z) |
List<AbstractDrawable> |
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) |
find, getEstimatedQuadSurroundingPoint, getRealQuadStandingOnPoint, getSquarePolygonsAroundCoordinates, getSquarePolygonsAroundCoordinates, getSquarePolygonsOnCoordinates, getSquarePolygonsOnCoordinates, newQuad, setData, unique, validZ, validZ
build
protected float ringMin
protected float ringMax
protected ColorMapper cmap
protected Color factor
public RingTessellator(float ringMin, float ringMax, ColorMapper cmap, Color factor)
public AbstractComposite build(float[] x, float[] y, float[] z)
build
in class OrthonormalTessellator
public List<AbstractDrawable> getInterpolatedRingPolygons()
ringMin
- the minimum radius of this ring.ringMax
- the maximum radius of this ring.colorFactor
- a weighting factor for the color returned by the Colormap.protected boolean[] isInside(Point[] p, float[] radius, float minRadius, float maxRadius)
protected float radius2d(Point p)
Copyright © 2016. All rights reserved.