public VsPolygon(Polygon3D p, Color c) { type = "VsPolygon"; faceflag = true; col = c; pol = p; faceflag = pol.BackfaceCheck(); }
public VsPolygon() { type = "VsPolygon"; faceflag = true; col = Color.Black; pol = new Polygon3D(); faceflag = pol.BackfaceCheck(); }
public VsPolygon(int np, double[] x, double[] y, double[] z, Color c) { type = "VsPolygon"; faceflag = true; col = c; pol = new Polygon3D(np, x, y, z); faceflag = pol.BackfaceCheck(); }
public VsPolygon(int np, double[] x, double[] y, double[] z, int r, int g, int b) { type = "VsPolygon"; faceflag = true; col = Color.FromArgb(r, g, b); pol = new Polygon3D(np, x, y, z); faceflag = pol.BackfaceCheck(); }
public VsPolygon3(Polygon3D p, Material material) { type = "VsPolygon3"; col = Color.Black; faceflag = true; mate = material; pol = p; faceflag = pol.BackfaceCheck(); }
public VsPolygon3() { type = "VsPolygon3"; col = Color.Black; faceflag = true; mate = new Material(); pol = new Polygon3D(); faceflag = pol.BackfaceCheck(); }
public VsPolygon2(Polygon3D p, Color c, Color cb) { type = "VsPolygon2"; faceflag = true; col = c; colB = cb; pol = p; faceflag = pol.BackfaceCheck(); }
public VsPolygon2() { type = "VsPolygon2"; faceflag = true; col = Color.Blue; colB = Color.Red; pol = new Polygon3D(); faceflag = pol.BackfaceCheck(); }
public VsPolygon4(int np, double[] x, double[] y, double[] z, Material material, Material materialB) { type = "VsPolygon4"; col = Color.Black; faceflag = true; mate = material; mateB = materialB; pol = new Polygon3D(np, x, y, z); faceflag = pol.BackfaceCheck(); }