Method and system for judging shielding of environmental probe
A method for judging shielding of an environmental probe comprises the following steps: pre-generating shielding distances in all directions around the environmental probe, and storing the shielding distances in all directions in environmental probe information; calculating a vector and a vector len...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method for judging shielding of an environmental probe comprises the following steps: pre-generating shielding distances in all directions around the environmental probe, and storing the shielding distances in all directions in environmental probe information; calculating a vector and a vector length from the environmental probe to the object; and searching for one or more directions closest tothe vector in the stored directions, and comparing the corresponding vector length with the shielding distance to judge whether shielding exists between the environment probe and the object or not. The invention further provides a system for judging shielding of the environment probe, and whether shielding exists between the environment probe and the affected object or not can be quickly judged.
一种判断环境探针遮挡的方法,包括以下步骤:预生成在环境探针周围各方向上的遮挡距离,并将各方向及遮挡距离存储在环境探针信息中;计算从环境探针到物件的向量和向量长度;在所存储的各方向中查找与向量最接近的一个或多个方向,并比对对应的向量长度与遮挡距离,以判断环境探针与物件之间是否存在遮挡。本发明还提供判断环境探针遮挡的系统,可以快速判断环境探针与被影响物体之间是否有遮挡。 |
---|