1 package org.catacomb.numeric.data; 2 3 import org.catacomb.interlish.content.VectorScene; 4 5 6 public class XYVectorScene implements VectorScene { 7 8 int color; 9 double[] xpts; 10 double[] ypts; 11 12 13 14 public XYVectorScene(double[] xp, double[] yp, int col) { 15 xpts = xp; 16 ypts = yp; 17 color = col; 18 } 19 20 21 public double[] getXPts() { 22 return xpts; 23 } 24 25 public double[] getYPts() { 26 return ypts; 27 } 28 29 public int getColor() { 30 return color; 31 } 32 33 }