フィルターのクリア

Calculate normal (directional) from polygons?

9 ビュー (過去 30 日間)
Iman Alsharkawi
Iman Alsharkawi 2011 年 4 月 4 日
Is it possible to turn a polygon shape into a surface in Matlab to find it's normal direction? The input matrix I have for each polygon is in the following format:
[column 1: x-coordinates; column 2: y-coordinates; column3: z-coordinates]
The coordinates are already sorted in sequential order, so it's normal will go in one direction or the other. The polygons are all 2-dimensional, but can be rotated in any direction (which is what is sought).
Matlab version R2007a is being used, if that makes any difference in the response to this problem.
Thanks!

回答 (1 件)

bym
bym 2011 年 4 月 4 日
why not use the cross product from 2 edges?
doc cross

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by