public Geometry(double kflag, double 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 */ this.primary = new GeometryStar(); this.secondary = new GeometryStar(); this.KFLAG = kflag; this.KCOLOR = kcolor; this.ANGU = 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; }
/** * @param secondary the secondary to set */ public void setSecondary(GeometryStar secondary) { this.secondary = secondary; }
/** * @param primary the primary to set */ public void setPrimary(GeometryStar primary) { this.primary = primary; }