public LightCurve(int kflag, int kcolor, double angu, double r01, double q2, double tp1, double tp2, double coef1, double coef2, double ab2, double beta, double Base) { /* * Inicializa as variáveis a partir dos valores fornecidos */ primary = new LightCurveStar(); secondary = new LightCurveStar(); //this.disk = new Disk(); KFLAG = kflag; KCOLOR = kcolor; ANGU = angu; //IA = Math.toRadians(ANGU); IA = ANGU; this.primary.setR0(r01); this.secondary.setQ(q2); this.primary.setTP(tp1); this.secondary.setTP(tp2); this.primary.setCOEF(coef1); this.secondary.setCOEF(coef2); this.secondary.setAB(ab2); BETA = beta; BASE = Base; }
public LightCurve() { this.primary = new LightCurveStar(); this.secondary = new LightCurveStar(); }