フィルターのクリア

find orientation associated with the edge in delaunay triangulation

2 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2017 年 10 月 17 日
コメント済み: Elysi Cochin 2017 年 10 月 17 日
i creates a Delaunay triangulation using the following lines
X = [y(:,1) x(:,1)];
dt = delaunayTriangulation(X);
How to find orientation associated with the edge to get (ThetaA, ThetaB, ThetaC)

採用された回答

KSSV
KSSV 2017 年 10 月 17 日
  2 件のコメント
KSSV
KSSV 2017 年 10 月 17 日
x = rand(10,1) ; % a randoms data
y = rand(10,1) ;
dt = delaunayTriangulation(x,y) ; % delaunay triangulation
points = dt.Points ; % points
tri = dt.ConnectivityList ; % nodal connectivity
x = points(:,1) ;
X = x(tri) ;
y = points(:,2) ;
Y = y(tri) ;
nel = size(tri,1) ;
Angles = zeros(nel,3) ;
for i = 1:nel
Angles(i,:) = FindAngles([X(i,:)' Y(i,:)']) ;
end
Elysi Cochin
Elysi Cochin 2017 年 10 月 17 日
Thank you sir

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDelaunay Triangulation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by