test intersection of 2 rectangles

Hyperplane separation theorem Author: Dan Oprisan/Timofte Bogdan

이 제출물을 팔로우합니다

Two convex objects do not overlap iff there exists a line (called axis) onto which the two objects' projections do not overlap.

SAT suggests an algorithm for testing whether two convex solids intersect or not.

Regardless of dimensionality, the separating axis is always a line. For example, in 3D, the space is separated by planes, but the separating axis is perpendicular to the separating plane.

The separating axis theorem can be applied for fast collision detection between polygon meshes. Each face's normal or other feature directions is used as a separating axis, as well as the cross products. Note that this yields possible separating axes, not separating lines/planes.

If the cross products were not used, certain edge-on-edge non-colliding cases would be treated as colliding. For increased efficiency, parallel axes may be calculated as a single axis.

인용 양식

timo (2026). test intersection of 2 rectangles (https://kr.mathworks.com/matlabcentral/fileexchange/43230-test-intersection-of-2-rectangles), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 준 파일: iskandervito/S2_tilefinder

카테고리

Help CenterMATLAB Answers에서 Computational Geometry에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

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

name

1.0.0.0