package org.jzy3d.plot3d.primitives;

import java.util.ArrayList;
import java.util.List;

import org.jzy3d.maths.Coord3d;


public class FlatLine2d extends AbstractComposite{
	public FlatLine2d(){
	}
	
	public FlatLine2d(float[] x, float[] y, float depth){
		setData(x, y, depth);
	}
	
	public void setData(float[] x, float[] y, float depth){
		if(x.length!=y.length)
			throw new IllegalArgumentException("x and y must have equal length");
		List quads = new ArrayList(x.length*y.length);
		for(int i=0; i 

Ads help maintain this website.