摘要 |
In a method for measuring surface dimension of an object, an enclosing box of a triangular mesh surface of the object is constructed, and divided into sub-boxes. Relationships between the triangles and the sub-boxes are generated according to intersections. A measuring point is selected, and coordinates and a searching vector of the measuring point are obtained. A ray, which starts from the selected measuring point along the direction where the searching vector is directed to, is constructed, and sub-boxes intersecting with the ray are obtained sequentially. One of the obtained sub-boxes is selected and triangles which intersect with the selected sub-box are obtained. An intersection point of the ray and one of the obtained triangles, and a vector of the obtained triangle are recorded into a measuring file. Measurements on the surface of the object are implemented according to the measuring file.
|