package org.jzy3d.maths;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Vector;

import org.apache.log4j.Logger;
import org.jzy3d.colors.Color;
import org.jzy3d.colors.IColorMappable;
import org.jzy3d.colors.colormaps.IColorMap;
import org.jzy3d.plot3d.primitives.Point;
import org.jzy3d.plot3d.primitives.Polygon;



/** The GridLoader utility offers a way to convert coordinates mode.
 * When input data is made of lists of x, y, and z points, and 
 * that these lists actually contain data that regularly lie
 * on a squared grid (orthonormal grid), the GridLoader allows 
 * a smart retrieving of data by providing:
 * 
 * 
* If some data are missing for representing this grid, missing data * will be considered as NaN. The actual management of missing values * is thus left to the object that loads these data. *
* In the following example, the o represent a NaN Z value, meaning that * there was no (x[i],y[i],z[i]) triplet for representing it correctly: *
* * 11111111 y
* 11111111
* 11o11111
* 11111111
*  
* x
*
*
*
* * If some points are missing in the input list to generate a complete * grid, the output grid will contain Z=NaN values for missing coordinates. * * @author Martin Pernollet */ @Deprecated public class GridLoader implements IColorMappable{ static Logger logger = Logger.getLogger(GridLoader.class); /** Initialize a GridLoader by parsing the square grid directly. * When the grid is parsed, the GridLoader may return either: *

Ads help maintain this website.