『壹』 驗房工具箱裡面都有哪些量房工具呢
驗房工具箱內裝鋼化玻璃檢測儀、激光測距儀、激光水平放線儀、雜訊檢測儀、網版絡/電話信號檢測儀權、伸縮響鼓槌、響鼓槌、尖嘴鉗、手電筒、三孔驗電插器、5m卷線器、檢測鏡、游標塞尺、內外直角檢測尺、伸縮桿、多功能磁力線墜、焊接檢測尺、百格網、感應驗電筆、+字和-字螺絲刀、游標卡尺、5m捲尺、垂直檢測尺、對角檢測尺等。
『貳』 matlab中生成voronoi圖時,能否設定一個邊界使得voronoi頂點不出現無窮遠點
下個mpt工具箱
裡面的mpt_voronoi可以實現你的要求
MPT_VORONOI Computes the voronoi diagram via mpLP
[Pn]=mpt_voronoi(points,Options)
---------------------------------------------------------------------------
DESCRIPTION
---------------------------------------------------------------------------
The voronoi diagram is a partition of the state space; For a given set of
points pj, each region Pn(j) is defined as
Pn(j)={x \in R^n | d(x,pj)<=d(x,pi), \forall i \neq j}
---------------------------------------------------------------------------
INPUT
---------------------------------------------------------------------------
points - Optional input:
Matrix p times nx of points: nx is state space dimension and
p is the number of points
The entry is graphical in 2D if no parameters are passed.
Options.pbound - A "bounding polytope". If provided, the voronoi cells will
be bounded by this polytope. If not provided, the cells will
be bounded by a hypercube as big as 1.5x the maximum
coordinate of any of the seed points
Options.plot - If set to 1, plots the voronoi diagram (0 is default)
Options.sortcells - If set to 1, resulting Voronoi partition will be ordered
in a way such that Pn(i) corresponds to seed point i.
(Default is 1)
『叄』 用matlab mpt工具箱生成受限的voronoi圖。請問該怎麼得到各個頂點坐標呢(包括voronoi邊與邊界的交點)
extreme這個函數就可以得到頂點坐標。
給你個代碼:
function irPoly = getIrreg(m,s)
%GETIRREGULAR Summary of this function goes here
% get irregular pixels
% the same begin & end
% clockwise order
% m - regular size
% S - low/high resolution
% get limit voronoi
x = gallery('uniformdata', [(m*s)^2 1], 0);
y = gallery('uniformdata', [(m*s)^2 1], 1);
vOut = [0,0; 0,m; m,m; m,0];
P = polytope(vOut);
Options.pbound = P;
% Options.plot = 1;
Pn = mpt_voronoi(m*[x,y],Options);
% split each polygon
for iPoly = 1:length(Pn)
thisPoly = extreme(Pn(iPoly));
% limited in [0,m]
thisPoly(thisPoly>m) = m;
thisPoly(thisPoly<0) = 0;
% make points in order
k = convhull(thisPoly(:,1), thisPoly(:,2));
% make clockwise
[pX,pY] = poly2cw(thisPoly(k,1),thisPoly(k,2));
irPoly{iPoly} = [pX,pY];
end%for iPoly
end%function
『肆』 Matlab的MPT工具箱
^extreme這個函數就可以得到頂點坐標。 給你個代碼: function irPoly = getIrreg(m,s) %GETIRREGULAR Summary of this function goes here % get irregular pixels % the same begin & end % clockwise order % m - regular size % S - low/high resolution % get limit voronoi x = gallery('uniformdata', [(m*s)^2 1], 0); y = gallery('uniformdata', [(m*s)^2 1], 1); vOut = [0,0; 0,m; m,m; m,0]; P = polytope(vOut); Options.pbound = P; % Options.plot = 1; Pn = mpt_voronoi(m*[x,y],Options); % split each polygon for iPoly = 1:length(Pn) thisPoly = extreme(Pn(iPoly)); % limited in [0,m] thisPoly(thisPoly>m) = m; thisPoly(thisPoly<0) = 0; % make points in order k = convhull(thisPoly(:,1), thisPoly(:,2)); % make clockwise [pX,pY] = poly2cw(thisPoly(k,1),thisPoly(k,2)); irPoly{iPoly} = [pX,pY]; end%for iPoly end%function
『伍』 cad中怎麼快速把規則的矩形 多線段畫著太慢了 或者誰知道賤人工具箱里有什麼類似的功能沒有
方法:把矩形創建為面域,再求差,如圖所示,參考一下。
『陸』 CAD2014,如何批量提取多段線長度及每條多段線兩頂點的坐標
CAD自帶功能,想提取很多pl線的頂點坐標,那就放棄吧,換LISP思路吧
『柒』 電腦存放系統文件佔用的空間越來越大了,怎麼辦
用360深度優化一下吧。系統文件越來越大無非就是軟體越安越多,注冊表越來越繁雜。
還有可能病毒偽裝系統文件,建議360指定C盤殺毒一次。