獲取IFC構件的位置資料 方向資料

2022-05-18 21:28:31 字數 1981 閱讀 4787

獲取ifc構件的位置資料、方向資料

std::map    map_buildingentity = b_model->getmapifcentities();

std::map

::iterator map_iter1;

for (map_iter1 = map_buildingentity.begin();map_iter1 != map_buildingentity.end();++map_iter1)

-----id: 94 name: "專案編號" class: ifcproject global id: "2zd1jkdm1dzfncpyiaat8b" "專案編號"

--------------final..

-----id: 104 name: "" class: ifcbuilding global id: "2zd1jkdm1dzfncpyiaat8a" ""

--------------final..

-----id: 119 name: "f1" class: ifcbuildingstorey global id: "2zd1jkdm1dzfncpylrrypc" "f1"

--------------final..

-----id: 149 name: "1" class: ifcspace global id: "3mph_s_ef13f4liaeqpvzw" "1"

--------------final..

-----id: 221 name: "f1-400 x 600mm" class: ifccolumntype global id: "22fxpjmz14gwg9hhc9aqud" "f1-400 x 600mm"

--------------final..

-----id: 253 name: "m_矩形-結構柱:f1-400 x 600mm:361699" class: ifccolumn global id: "22fxpjmz14gwg9hhc9aquy" "m_矩形-結構柱:f1-400 x 600mm:361699"

"[-1247.74,23749.89,0.00]"

--------------final..

-----id: 381 name: "基本牆:f1-磚牆240mm:361786" class: ifcwallstandardcase global id: "22fxpjmz14gwg9hhc9aqpx" "基本牆:f1-磚牆240mm:361786"

"[0.00,0.00,1.00]"

0x167d5f287b0

"[2249.09,27889.00,0.00]"

--------------final..

-----id: 579 name: "基本牆:f1-磚牆240mm" class: ifcwalltype global id: "22fxpjmz14gwg9hhc9aqur" "基本牆:f1-磚牆240mm"

--------------final..

-----id: 664 name: "可出租" class: ifcgroup global id: "0jcj1wpir4er5pn8zikchu" "可出租"

--------------final..

-----id: 679 name: "default" class: ifcsite global id: "2zd1jkdm1dzfncpyiaat89" "default"

--------------final..

R語言 獲取指定位置的資料

matrix 1 2 3 4 5 1,1 5 9 13 17 2,2 6 10 14 18 3,3 7 11 15 19 4,4 8 12 16 201.正整數索引 因為r中的起始位置為1,與一般的程式語言不同,所以這類索引最為常見。需要注意的是,如果索引中存在重複值,r會繼續執行進而重複提取部分值...

獲取mobike或其他的位置資訊,及資料視覺化。

這個方面網上會有很多資料啦!大致的思路都是,通過抓包軟體,獲取 客戶端發出的請求包 程式設計模擬包的格式,通過迴圈呼叫,獲取到一定區域內的位置資訊。大致這樣。至於抓包軟體我使用的是fiddler,詳情.請檢視這個部落格吧。程式的話,我是借鑑了github上的乙個程式,並做了一些修改。懶得貼了。如果有...

MySQL 元資料 獲取查詢語句影響的記錄數

你可能想知道mysql以下三種資訊 在mysql的命令提示符中,我們可以很容易的獲取以上伺服器資訊。但如果使用perl或php等指令碼語言,你就需要呼叫特定的介面函式來獲取。接下來我們會詳細介紹。在 dbi 指令碼中,語句影響的記錄數通過函式 do 或 execute 返回 方法 1 使用do 執行...