이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
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
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0 |
