CheckOutwardNormals

Checks face/vertex list of closed triangulated objects to make sure all normals are outward facing.

이 제출물을 팔로우합니다

Checks normals are outward facing and re-orders face if not.
Works with concave objects and with cavities. e.g. swiss cheese
Only works with triangular faces
Requirements: Function TriangleRayIntersection by Jarek Tuszynski
Input: faces, F (Nx3)
vertices, V (Nx3)
Output: corrected face list so all normals are outwards facing
list of any faces reordered
Assumptions: Normals are from clockwise orientation of faces. I.e. Right hand rule
Shape is closed and watertight.
No duplicate faces
Potential improvements: TriangleRayIntersection accepts multi-face, multi-ray input so should be able to speed up by removing the loop over the faces.

인용 양식

Darrel Robertson (2026). CheckOutwardNormals (https://kr.mathworks.com/matlabcentral/fileexchange/169468-checkoutwardnormals), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: Triangle/Ray Intersection

태그

태그 추가

Add the first tag.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0