导航

ACTA AERONAUTICAET ASTRONAUTICA SINICA ›› 2002, Vol. 23 ›› Issue (3): 234-236.

Previous Articles     Next Articles

NEW METHOD FOR JUDGING CARTESIAN GRID VERTICES INSIDE OR OUTSIDE ARBITRARILY GEOMETRIC BODIES

LI Zhi-hong, TAO Zhi, CAI Wei-hua   

  1. Faculty 402, Beijing University of Aeronautics and Astronautics, Beijing 100083, China
  • Received:2001-08-02 Revised:2001-11-26 Online:2002-06-25 Published:2002-06-25

Abstract:

A new method is presented in this paper for judging if Cartesian grid vertices are inside or outside arbitrarily geometric bodies on the 2 dimensional plane. As an example, a 27×15 lattice is tested for judging the relations between the positions of its elements and those of three isosceles triangles. The calculated result shows that the presented method is precise, efficient and flexible. And it can be easily extended and applied to more complex 3 dimensional cases.

Key words: 2-dimensional plane, vertex, arbitrarily geometric bodies