Although the bounding box is a polygon defining the area represented for the user, I simplify and use one point of this data.
尽管这个边界框是一个用于定义表示用户的区域的多边形,但我简化并使用该数据的一个点。
Geometry describes locations on a flat (i.e. Euclidean) plane, and can be used to determine information such as the shape and area of a polygon.
Geometry描述扁平(比如欧几里得)平面上的位置,并可用来判定诸如多边形形状和面积之类的信息。
At the same time the author points out that the polygon vertexes can be sorted clockwise or anticlockwise by judging the sign of the vector polygon area.
同时指出可以通过判断矢量多边形面积的正负值将多边形的顶点按照顺时针或逆时针方向排序。
应用推荐