org.jzy3d.plot3d.builder.concrete
Class OldRingTesselator
- java.lang.Object
-
- org.jzy3d.plot3d.builder.Tessellator
-
- org.jzy3d.plot3d.builder.concrete.OrthonormalTessellator
-
- org.jzy3d.plot3d.builder.concrete.OldRingTesselator
-
Deprecated.
@Deprecated public class OldRingTesselator extends OrthonormalTessellator
-
-
Field Summary
Fields Modifier and Type Field and Description float[]xDeprecated.float[]yDeprecated.float[][]zDeprecated.
-
Constructor Summary
Constructors Constructor and Description OldRingTesselator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description AbstractCompositebuild(java.util.List<Coord3d> coordinates)Deprecated.voidextrapolate(int n)Deprecated.Add extrapolated points on the grid.java.util.List<Polygon>getExtrapolatedRingPolygons(float ringMax, ColorMapper cmap, Color colorFactor)Deprecated.java.util.List<Polygon>getInterpolatedRingPolygons(float ringMin, float ringMax, ColorMapper cmap, Color colorFactor)Deprecated.Load data standing on an orthonormal grid.-
Methods inherited from class org.jzy3d.plot3d.builder.concrete.OrthonormalTessellator
build, getSquarePolygonsAroundCoordinates, getSquarePolygonsAroundCoordinates, getSquarePolygonsOnCoordinates, getSquarePolygonsOnCoordinates
-
-
-
-
Field Detail
-
x
public float[] x
Deprecated.
-
y
public float[] y
Deprecated.
-
z
public float[][] z
Deprecated.
-
-
Method Detail
-
build
public AbstractComposite build(java.util.List<Coord3d> coordinates)
Deprecated.- Overrides:
buildin classTessellator
-
getExtrapolatedRingPolygons
public java.util.List<Polygon> getExtrapolatedRingPolygons(float ringMax, ColorMapper cmap, Color colorFactor)
Deprecated.
-
extrapolate
public void extrapolate(int n)
Deprecated.Add extrapolated points on the grid. If the grid is too small for extrapolation, the arrays are maximized
-
getInterpolatedRingPolygons
public java.util.List<Polygon> getInterpolatedRingPolygons(float ringMin, float ringMax, ColorMapper cmap, Color colorFactor)
Deprecated.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:- x[i-1], y[j+1], z[i-1][j+1]
- x[i-1], y[j-1], z[i-1][j-1]
- x[i+1], y[j-1], z[i+1][j-1]
- x[i+1], y[j+1], z[i+1][j+1]
- those that stand completely inside the ringMin and ringMax radius and that have the previous coordinates.
- those that stand completely outside the ringMin and ringMax radius and that won't be added to the list of polygons.
- those that have some points in and some points out of the ringMin and
ringMax radius. These polygons are recomputed so that "out" points are replaced
by two points that make the smooth contour. According to the number of "out"
points, the modified polygon will gather 3, 4, or 5 points.
As a consequence, it is suggested to provide data ranging outside of ringMin and ringMax, in order to be sure to have a perfect round surface.
- Parameters:
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG