Your SlideShare is downloading. ×
Closest point to aabb
Closest point to aabb
Closest point to aabb
Closest point to aabb
Closest point to aabb
Closest point to aabb
Closest point to aabb
Closest point to aabb
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Closest point to aabb

1,512

Published on

Closest point to aabb from Real Time Collision Detection from Christer Ericson

Closest point to aabb from Real Time Collision Detection from Christer Ericson

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,512
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Closest Point on AABB to Point
  • 2. B
  • 3. Four cases of clamping
  • 4. Case 1
    B
    P
    If P is inside B, the clamped point is P itself, which is also the point in B closest to P
  • 5. Case 2
    B
    Q
    P
    If P is in a face Voronoi region (two dimensions from the box) of B, the clamping operation will bring P to that face of B which will be called Q.
    The clamping corresponds to an orthogonal projection of P onto B and must therefore result in the closest point on B.
  • 6. Case 3
    P
    Q
    When P is in a vertex Voronoi region of B, clamping P gives the vertex as a result, which again is the closest point on B.
    B
  • 7. Case 4
    P
    Q
    B
    when P is in an edge Voronoi region, clamping P corresponds to an orthogonal projection onto the edge, which also must be the closest point on B to P.
  • 8. Reference
    Real Time Collision Detection by Christer Ericson

×