function makeRealBuilding(name, sides) { let views = {}; sides.forEach(side => { views[side[0]] = { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(side[1], "meters") } }, image: { source: "./media/real-buildings/" + side[0] + ".svg" }, name: side[0], rename: true } }) return { name: name, constructor: () => makeEntity({ name: name }, views) } } function makeRealBuildings() { const results = []; results.push(makeRealBuilding( "Chicago Buildings", [ ["Chase Tower-North", 259.0], ["Chase Tower-Northwest", 259.0], ["Chase Tower-West", 259.0], ["Chase Tower-North (Top)", 59.5516357421875], ["Chase Tower-West (Top)", 95.609619140625], ["Crain Communications Building-North", 177.39999389648438], ["Crain Communications Building-Northwest", 177.39999389648438], ["Crain Communications Building-West", 177.39999389648438], ["Crain Communications Building-North (Top)", 46.27587890625], ["Crain Communications Building-West (Top)", 38.86086654663086], ["Harbor Point-North", 168.0], ["Harbor Point-Northwest", 168.0], ["Harbor Point-West", 168.0], ["Harbor Point-North (Top)", 56.6817626953125], ["Harbor Point-West (Top)", 59.33990478515625], ["McCormick Place Convention Center-North", 50.0], ["McCormick Place Convention Center-Northwest", 50.0], ["McCormick Place Convention Center-West", 50.0], ["McCormick Place Convention Center-North (Top)", 835.5029296875], ["McCormick Place Convention Center-West (Top)", 959.2711181640625], ["North Harbor Tower-North", 163.0], ["North Harbor Tower-Northwest", 163.0], ["North Harbor Tower-West", 163.0], ["North Harbor Tower-North (Top)", 51.142578125], ["North Harbor Tower-West (Top)", 26.57373046875], ["One Museum Park East-North", 221.0], ["One Museum Park East-Northwest", 221.0], ["One Museum Park East-West", 221.0], ["One Museum Park East-North (Top)", 49.270263671875], ["One Museum Park East-West (Top)", 50.97662353515625], ["Soldier Field-North", 60.0], ["Soldier Field-Northwest", 60.0], ["Soldier Field-West", 60.0], ["Soldier Field-North (Top)", 356.93212890625], ["Soldier Field-West (Top)", 218.7261962890625], ["The Merchandise Mart-North", 104.0], ["The Merchandise Mart-Northwest", 104.0], ["The Merchandise Mart-West", 104.0], ["The Merchandise Mart-North (Top)", 102.9521484375], ["The Merchandise Mart-West (Top)", 221.81201171875], ["Trump International Hotel & Tower Chicago-North", 423.0], ["Trump International Hotel & Tower Chicago-Northwest", 423.0], ["Trump International Hotel & Tower Chicago-West", 423.0], ["Trump International Hotel & Tower Chicago-North (Top)", 98.48388671875], ["Trump International Hotel & Tower Chicago-West (Top)", 76.71368408203125], ["Willis Tower-North", 527.0], ["Willis Tower-Northwest", 527.0], ["Willis Tower-West", 527.0], ["Willis Tower-North (Top)", 72.828125], ["Willis Tower-West (Top)", 71.40435791015625] ] )) results.push(makeRealBuilding( "New York City Buildings", [ ["1 Wall Street-North", 199.0], ["1 Wall Street-Northwest", 199.0], ["1 Wall Street-West", 199.0], ["1 Wall Street-North (Top)", 62.22757339477539], ["1 Wall Street-West (Top)", 51.93975830078125], ["125 Greenwich Street-North", 278.0], ["125 Greenwich Street-Northwest", 278.0], ["125 Greenwich Street-West", 278.0], ["125 Greenwich Street-North (Top)", 39.897377014160156], ["125 Greenwich Street-West (Top)", 42.04002380371094], ["28 Liberty-North", 248.0], ["28 Liberty-Northwest", 248.0], ["28 Liberty-West", 248.0], ["28 Liberty-North (Top)", 80.5832748413086], ["28 Liberty-West (Top)", 86.45325469970703], ["60 Wall Street-North", 227.0], ["60 Wall Street-Northwest", 227.0], ["60 Wall Street-West", 227.0], ["60 Wall Street-North (Top)", 104.59471130371094], ["60 Wall Street-West (Top)", 92.3785400390625], ["Barclay Tower-North", 205.0], ["Barclay Tower-Northwest", 205.0], ["Barclay Tower-West", 205.0], ["Barclay Tower-North (Top)", 49.04693603515625], ["Barclay Tower-West (Top)", 55.31927490234375], ["Chatham Green-North", 68.0], ["Chatham Green-Northwest", 68.0], ["Chatham Green-West", 68.0], ["Chatham Green-North (Top)", 131.54913330078125], ["Chatham Green-West (Top)", 141.11834716796875], ["Continental Center-North", 169.0], ["Continental Center-Northwest", 169.0], ["Continental Center-West", 169.0], ["Continental Center-North (Top)", 67.05844116210938], ["Continental Center-West (Top)", 70.59909057617188], ["Federal Reserve Bank of New York-North", 79.0], ["Federal Reserve Bank of New York-Northwest", 79.0], ["Federal Reserve Bank of New York-West", 79.0], ["Federal Reserve Bank of New York-North (Top)", 124.53176879882812], ["Federal Reserve Bank of New York-West (Top)", 98.12418365478516], ["Goldman Sachs Tower-North", 228.0], ["Goldman Sachs Tower-Northwest", 228.0], ["Goldman Sachs Tower-West", 228.0], ["Goldman Sachs Tower-North (Top)", 133.60693359375], ["Goldman Sachs Tower-West (Top)", 83.52786254882812], ["Marine Midland Building-North", 210.0], ["Marine Midland Building-Northwest", 210.0], ["Marine Midland Building-West", 210.0], ["Marine Midland Building-North (Top)", 62.683738708496094], ["Marine Midland Building-West (Top)", 69.3470458984375], ["New York Stock Exchange-North", 104.80000305175781], ["New York Stock Exchange-Northwest", 104.80000305175781], ["New York Stock Exchange-West", 104.80000305175781], ["New York Stock Exchange-North (Top)", 81.9200439453125], ["New York Stock Exchange-West (Top)", 63.66112518310547], ["One Financial Square-North", 175.0], ["One Financial Square-Northwest", 175.0], ["One Financial Square-West", 175.0], ["One Financial Square-North (Top)", 77.946044921875], ["One Financial Square-West (Top)", 77.87554931640625], ["One Liberty Plaza-North", 226.0], ["One Liberty Plaza-Northwest", 226.0], ["One Liberty Plaza-West", 226.0], ["One Liberty Plaza-North (Top)", 80.30592346191406], ["One Liberty Plaza-West (Top)", 87.76655578613281], ["One World Trade Center-North", 541.0], ["One World Trade Center-Northwest", 541.0], ["One World Trade Center-West", 541.0], ["One World Trade Center-North (Top)", 88.0433349609375], ["One World Trade Center-West (Top)", 87.99082946777344], ["Saint Paul's Chapel-North", 67.05000305175781], ["Saint Paul's Chapel-Northwest", 67.05000305175781], ["Saint Paul's Chapel-West", 67.05000305175781], ["Saint Paul's Chapel-North (Top)", 40.241607666015625], ["Saint Paul's Chapel-West (Top)", 46.44340515136719], ["The Visionaire-North", 118.0], ["The Visionaire-Northwest", 118.0], ["The Visionaire-West", 118.0], ["The Visionaire-North (Top)", 76.42178344726562], ["The Visionaire-West (Top)", 61.637939453125], ["Wall Street-North", 282.5], ["Wall Street-Northwest", 282.5], ["Wall Street-West", 282.5], ["Wall Street-North (Top)", 482.1182861328125], ["Wall Street-West (Top)", 566.583984375], ["Woolworth Building-North", 237.8000030517578], ["Woolworth Building-Northwest", 237.8000030517578], ["Woolworth Building-West", 237.8000030517578], ["Woolworth Building-North (Top)", 68.01544189453125], ["Woolworth Building-West (Top)", 72.90354919433594] ] )) results.push(makeRealBuilding( "Houston Buildings", [ ["1 Houston Center-North", 207.0], ["1 Houston Center-Northwest", 207.0], ["1 Houston Center-West", 207.0], ["1 Houston Center-North (Top)", 65.34457397460938], ["1 Houston Center-West (Top)", 69.97818756103516], ["1400 Smith Street-North", 211.0], ["1400 Smith Street-Northwest", 211.0], ["1400 Smith Street-West", 211.0], ["1400 Smith Street-North (Top)", 33.926368713378906], ["1400 Smith Street-West (Top)", 79.16937255859375], ["609 Main-North", 230.0], ["609 Main-Northwest", 230.0], ["609 Main-West", 230.0], ["609 Main-North (Top)", 80.4395751953125], ["609 Main-West (Top)", 88.91714477539062], ["Allen Center-North", 209.0], ["Allen Center-Northwest", 209.0], ["Allen Center-West", 209.0], ["Allen Center-North (Top)", 182.77867126464844], ["Allen Center-West (Top)", 221.2498779296875], ["Alley Theatre-North", 61.0], ["Alley Theatre-Northwest", 61.0], ["Alley Theatre-West", 61.0], ["Alley Theatre-North (Top)", 106.58892822265625], ["Alley Theatre-West (Top)", 105.73934936523438], ["Bayou Place-North", 15.0], ["Bayou Place-Northwest", 15.0], ["Bayou Place-West", 15.0], ["Bayou Place-North (Top)", 187.7071533203125], ["Bayou Place-West (Top)", 295.92242431640625], ["BBVA Stadium-North", 21.181272506713867], ["BBVA Stadium-Northwest", 21.181272506713867], ["BBVA Stadium-West", 21.181272506713867], ["BBVA Stadium-North (Top)", 243.41409301757812], ["BBVA Stadium-West (Top)", 215.81854248046875], ["BG Group Place-North", 192.0], ["BG Group Place-Northwest", 192.0], ["BG Group Place-West", 192.0], ["BG Group Place-North (Top)", 67.34878540039062], ["BG Group Place-West (Top)", 78.39398956298828], ["Bob Lanier Public Works Building-North", 125.0], ["Bob Lanier Public Works Building-Northwest", 125.0], ["Bob Lanier Public Works Building-West", 125.0], ["Bob Lanier Public Works Building-North (Top)", 88.43267822265625], ["Bob Lanier Public Works Building-West (Top)", 94.69607543945312], ["CenterPoint Energy Plaza-North", 225.89999389648438], ["CenterPoint Energy Plaza-Northwest", 225.89999389648438], ["CenterPoint Energy Plaza-West", 225.89999389648438], ["CenterPoint Energy Plaza-North (Top)", 67.96113586425781], ["CenterPoint Energy Plaza-West (Top)", 67.71673583984375], ["Enterprise Plaza-North", 230.0], ["Enterprise Plaza-Northwest", 230.0], ["Enterprise Plaza-West", 230.0], ["Enterprise Plaza-North (Top)", 92.30743408203125], ["Enterprise Plaza-West (Top)", 78.3553466796875], ["ExxonMobil Building-North", 185.0], ["ExxonMobil Building-Northwest", 185.0], ["ExxonMobil Building-West", 185.0], ["ExxonMobil Building-North (Top)", 79.45152282714844], ["ExxonMobil Building-West (Top)", 89.8104248046875], ["First City Tower-North", 202.0], ["First City Tower-Northwest", 202.0], ["First City Tower-West", 202.0], ["First City Tower-North (Top)", 96.1246109008789], ["First City Tower-West (Top)", 61.35746765136719], ["Fulbright Tower-North", 221.0], ["Fulbright Tower-Northwest", 221.0], ["Fulbright Tower-West", 221.0], ["Fulbright Tower-North (Top)", 55.392723083496094], ["Fulbright Tower-West (Top)", 58.08205032348633], ["George R. Brown Convention Center-North", 30.0], ["George R. Brown Convention Center-Northwest", 30.0], ["George R. Brown Convention Center-West", 30.0], ["George R. Brown Convention Center-North (Top)", 474.71661376953125], ["George R. Brown Convention Center-West (Top)", 386.85015869140625], ["Hess Tower-North", 149.0], ["Hess Tower-Northwest", 149.0], ["Hess Tower-West", 149.0], ["Hess Tower-North (Top)", 73.15848541259766], ["Hess Tower-West (Top)", 86.75668334960938], ["Hobby Center for the Performing Arts-North", 15.320470809936523], ["Hobby Center for the Performing Arts-Northwest", 15.320470809936523], ["Hobby Center for the Performing Arts-West", 15.320470809936523], ["Hobby Center for the Performing Arts-North (Top)", 121.2255859375], ["Hobby Center for the Performing Arts-West (Top)", 148.88623046875], ["Houston City Hall-North", 60.0], ["Houston City Hall-Northwest", 60.0], ["Houston City Hall-West", 60.0], ["Houston City Hall-North (Top)", 78.68081665039062], ["Houston City Hall-West (Top)", 75.5335693359375], ["JPMorgan Chase Tower-North", 305.0], ["JPMorgan Chase Tower-Northwest", 305.0], ["JPMorgan Chase Tower-West", 305.0], ["JPMorgan Chase Tower-North (Top)", 64.04220581054688], ["JPMorgan Chase Tower-West (Top)", 52.7445068359375], ["Minute Maid Park-North", 74.0], ["Minute Maid Park-Northwest", 74.0], ["Minute Maid Park-West", 74.0], ["Minute Maid Park-North (Top)", 326.86773681640625], ["Minute Maid Park-West (Top)", 305.28021240234375], ["Pennzoil Place-North", 121.0], ["Pennzoil Place-Northwest", 121.0], ["Pennzoil Place-West", 121.0], ["Pennzoil Place-North (Top)", 106.299560546875], ["Pennzoil Place-West (Top)", 106.25372314453125], ["Reliant Energy Plaza-North", 158.0], ["Reliant Energy Plaza-Northwest", 158.0], ["Reliant Energy Plaza-West", 158.0], ["Reliant Energy Plaza-North (Top)", 99.8541259765625], ["Reliant Energy Plaza-West (Top)", 100.40081787109375], ["TC Energy Center-North", 238.0], ["TC Energy Center-Northwest", 238.0], ["TC Energy Center-West", 238.0], ["TC Energy Center-North (Top)", 107.145751953125], ["TC Energy Center-West (Top)", 107.35494995117188], ["Texas Medical Center-North", 131.0], ["Texas Medical Center-Northwest", 131.0], ["Texas Medical Center-West", 131.0], ["Texas Medical Center-North (Top)", 1024.72265625], ["Texas Medical Center-West (Top)", 1229.794189453125], ["Toyota Center-North", 46.0], ["Toyota Center-Northwest", 46.0], ["Toyota Center-West", 46.0], ["Toyota Center-North (Top)", 188.37484741210938], ["Toyota Center-West (Top)", 189.456298828125], ["Wedge International Tower-North", 168.0], ["Wedge International Tower-Northwest", 168.0], ["Wedge International Tower-West", 168.0], ["Wedge International Tower-North (Top)", 69.53223419189453], ["Wedge International Tower-West (Top)", 64.026123046875], ["Wells Fargo Plaza-North", 302.0], ["Wells Fargo Plaza-Northwest", 302.0], ["Wells Fargo Plaza-West", 302.0], ["Wells Fargo Plaza-North (Top)", 55.492156982421875], ["Wells Fargo Plaza-West (Top)", 70.21014404296875] ] )) results.push(makeRealBuilding( "Boston Buildings", [ ["100 Clarendon Street Garage-North", 23.692787170410156], ["100 Clarendon Street Garage-Northwest", 23.692787170410156], ["100 Clarendon Street Garage-West", 23.692787170410156], ["100 Clarendon Street Garage-North (Top)", 71.71160888671875], ["100 Clarendon Street Garage-West (Top)", 189.588623046875], ["200 Clarendon-North", 189.7631378173828], ["200 Clarendon-Northwest", 189.7631378173828], ["200 Clarendon-West", 189.7631378173828], ["200 Clarendon-North (Top)", 86.68341064453125], ["200 Clarendon-West (Top)", 97.6390380859375], ["5 Post Office Square-North", 105.0], ["5 Post Office Square-Northwest", 105.0], ["5 Post Office Square-West", 105.0], ["5 Post Office Square-North (Top)", 73.4512939453125], ["5 Post Office Square-West (Top)", 61.550628662109375], ["54 Green Building-North", 90.0], ["54 Green Building-Northwest", 90.0], ["54 Green Building-West", 90.0], ["54 Green Building-North (Top)", 26.70819091796875], ["54 Green Building-West (Top)", 36.661865234375], ["Boston Marriott Long Wharf-North", 37.445552825927734], ["Boston Marriott Long Wharf-Northwest", 37.445552825927734], ["Boston Marriott Long Wharf-West", 37.445552825927734], ["Boston Marriott Long Wharf-North (Top)", 66.61810302734375], ["Boston Marriott Long Wharf-West (Top)", 152.33966064453125], ["Boston Public Library-North", 24.0], ["Boston Public Library-Northwest", 24.0], ["Boston Public Library-West", 24.0], ["Boston Public Library-North (Top)", 116.505859375], ["Boston Public Library-West (Top)", 161.231201171875], ["Bunker Hill Monument-North", 67.0], ["Bunker Hill Monument-Northwest", 67.0], ["Bunker Hill Monument-West", 67.0], ["Bunker Hill Monument-North (Top)", 11.143310546875], ["Bunker Hill Monument-West (Top)", 11.126452445983887], ["Center Plaza-North", 20.767358779907227], ["Center Plaza-Northwest", 20.767358779907227], ["Center Plaza-West", 20.767358779907227], ["Center Plaza-North (Top)", 211.80734252929688], ["Center Plaza-West (Top)", 102.37761688232422], ["Copley Place-North", 127.27559661865234], ["Copley Place-Northwest", 127.27559661865234], ["Copley Place-West", 127.27559661865234], ["Copley Place-North (Top)", 223.21246337890625], ["Copley Place-West (Top)", 255.1904296875], ["Exchange Place-North", 156.0], ["Exchange Place-Northwest", 156.0], ["Exchange Place-West", 156.0], ["Exchange Place-North (Top)", 52.10015869140625], ["Exchange Place-West (Top)", 67.7081298828125], ["Federal Reserve Bank of Boston-North", 187.0], ["Federal Reserve Bank of Boston-Northwest", 187.0], ["Federal Reserve Bank of Boston-West", 187.0], ["Federal Reserve Bank of Boston-North (Top)", 147.09347534179688], ["Federal Reserve Bank of Boston-West (Top)", 148.926513671875], ["Fenway Park-North", 20.531841278076172], ["Fenway Park-Northwest", 20.531841278076172], ["Fenway Park-West", 20.531841278076172], ["Fenway Park-North (Top)", 168.6722412109375], ["Fenway Park-West (Top)", 272.857177734375], ["Four Seasons Hotel One Dalton-North", 226.0], ["Four Seasons Hotel One Dalton-Northwest", 226.0], ["Four Seasons Hotel One Dalton-West", 226.0], ["Four Seasons Hotel One Dalton-North (Top)", 46.4114990234375], ["Four Seasons Hotel One Dalton-West (Top)", 48.4373779296875], ["Hynes Convention Center-North", 24.296863555908203], ["Hynes Convention Center-Northwest", 24.296863555908203], ["Hynes Convention Center-West", 24.296863555908203], ["Hynes Convention Center-North (Top)", 170.75579833984375], ["Hynes Convention Center-West (Top)", 198.8106689453125], ["Massachusetts State House-North", 40.0], ["Massachusetts State House-Northwest", 40.0], ["Massachusetts State House-West", 40.0], ["Massachusetts State House-North (Top)", 167.57830810546875], ["Massachusetts State House-West (Top)", 147.17738342285156], ["Massachusetts State Transportation Building-North", 28.70726203918457], ["Massachusetts State Transportation Building-Northwest", 28.70726203918457], ["Massachusetts State Transportation Building-West", 28.70726203918457], ["Massachusetts State Transportation Building-North (Top)", 120.55093383789062], ["Massachusetts State Transportation Building-West (Top)", 193.1099853515625], ["McCormack Building-North", 122.0], ["McCormack Building-Northwest", 122.0], ["McCormack Building-West", 122.0], ["McCormack Building-North (Top)", 66.56829833984375], ["McCormack Building-West (Top)", 43.63642120361328], ["Millenium Tower-North", 209.0], ["Millenium Tower-Northwest", 209.0], ["Millenium Tower-West", 209.0], ["Millenium Tower-North (Top)", 70.20889282226562], ["Millenium Tower-West (Top)", 77.93557739257812], ["MIT-North", 90.0], ["MIT-Northwest", 90.0], ["MIT-West", 90.0], ["MIT-North (Top)", 1398.5234375], ["MIT-West (Top)", 2593.773681640625], ["One Post Office Square-North", 160.0], ["One Post Office Square-Northwest", 160.0], ["One Post Office Square-West", 160.0], ["One Post Office Square-North (Top)", 62.16075134277344], ["One Post Office Square-West (Top)", 58.743896484375], ["Prudential Center-North", 276.0], ["Prudential Center-Northwest", 276.0], ["Prudential Center-West", 276.0], ["Prudential Center-North (Top)", 322.4747314453125], ["Prudential Center-West (Top)", 262.677978515625], ["Quincy Market-North", 23.99773406982422], ["Quincy Market-Northwest", 23.99773406982422], ["Quincy Market-West", 23.99773406982422], ["Quincy Market-North (Top)", 121.1820068359375], ["Quincy Market-West (Top)", 177.55661010742188], ["Rowes Wharf-North", 54.192569732666016], ["Rowes Wharf-Northwest", 54.192569732666016], ["Rowes Wharf-West", 54.192569732666016], ["Rowes Wharf-North (Top)", 181.87112426757812], ["Rowes Wharf-West (Top)", 131.46734619140625], ["South Station-North", 35.0], ["South Station-Northwest", 35.0], ["South Station-West", 35.0], ["South Station-North (Top)", 340.06695556640625], ["South Station-West (Top)", 201.49136352539062], ["State Street Financial Center-North", 155.0], ["State Street Financial Center-Northwest", 155.0], ["State Street Financial Center-West", 155.0], ["State Street Financial Center-North (Top)", 45.840087890625], ["State Street Financial Center-West (Top)", 72.14659118652344], ["The Berkeley Building-North", 180.0], ["The Berkeley Building-Northwest", 180.0], ["The Berkeley Building-West", 180.0], ["The Berkeley Building-North (Top)", 127.220703125], ["The Berkeley Building-West (Top)", 171.654052734375], ["Two International Place-North", 164.0], ["Two International Place-Northwest", 164.0], ["Two International Place-West", 164.0], ["Two International Place-North (Top)", 40.56541442871094], ["Two International Place-West (Top)", 47.13421630859375] ] )) return results; }