Batiment::Batiment(const Quadrangle& q, const unsigned int& typeCentre, const double& hauteurMax) { listePoints.push_back(q[0]); listePoints.push_back(q[1]); listePoints.push_back(q[2]); listePoints.push_back(q[3]); airMin = q.Area()*0.3; setBatimentInfos(typeCentre, hauteurMax); }
BaseBuilding::BaseBuilding(const Quadrangle& q, const unsigned int& typeCentre, const double& heightMax) { seed = rand(); listPoints.push_back(q[0]); listPoints.push_back(q[1]); listPoints.push_back(q[2]); listPoints.push_back(q[3]); airMin = q.Area()*0.3; setBuildingInfo(typeCentre, heightMax); }