TAILIEUCHUNG - Efficient Collision Detection for Animation and Robotics Part 12

Tham khảo tài liệu 'efficient collision detection for animation and robotics part 12', kỹ thuật - công nghệ, cơ khí - chế tạo máy phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 143 then RETURN NBR else RETURN find-closest p else RETURN NBR This procedure returns TRUE if Ea lies within the prismatic region swept out by Fb along its face normal direction FALSE otherwise. PROCEDURE E-FPrism E F min 0 max length Ea for cell till cell NULL cell norm vdot Ea points inward of the hyperplane if norm 0 compute the relative inclusion factor then K vdot norm if K max then max K if min max RETURN FALSE Ea points outward from the hyperplane else if norm 0 compute the relative inclusion factor then K vdot norm if K min min K if max min RETURN FALSE norm 0 if the edge Ea and Ei are parallel else if vdot 0 RETURN FALSE RETURN TRUE Vertex-Vertex case PROCEDURE vertex-vertex Va Vb NBRb point-cell-checkp Va if NBRb NULL then NBRa point-cell-checkp Vb if NBRa NULL 144 then RETURN Va Vb dist Va Vb else close-feat-checkp NBRa Vb else close-feat-checkp Va NBRb Vertex-Edge case PROCEDURE vertex-edge Va Eb NBRb point-cell-checkp Va if NBRb NULL then NBRa point-cell-checkp nearest-pt Va Eb if NBRa NULL then RETURN Va Eb dist Va Eb else close-feat-checkp NBRa Eb else close-feat-checkp Va NBRb Vertex-Face case PROCEDURE vertex-face Va Fb NBRb point-face-checkp Va Fb if NBRb NULL then NBRa point-cell-checkp nearest-pt Va Fb if NBRa NULL then RETURN Va Fb dist Va Fb else close-feat-checkp NBRa Fb else close-feat-checkp Va NBRb Edge-Edge case PROCEDURE edge-edge Ea Eb NBRb point-cell-checkp nearest-pt Eb Ea if NBRb NULL then NBRa point-cell-checkp nearest-pt Ea Eb if NBRa NULL then RETURN Ea Eb dist Ea Eb else close-feat-checkp NBRa Eb else close-feat-checkp Ea NBRb Edge-Face case PROCEDURE edge-face Ea Fb if vdot vdot 145 then if E-FPrism Ea NULL then if vdot 0 then cp_right triple cp_left triple if cp_right

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.