The MultiPoint constructor takes a sequence of (x, y[, z ])
point tuples.
复合点构造函数接收一系列(x, y[, z ])点元祖。
A MultiPoint has zero area and zero length.
MultiPoint的面积和长度都是零。
>>> from shapely import MultiPoint
>>> points = MultiPoint([(0.0, 0.0), (1.0, 1.0)])
>>> points.area
0.0
>>> points.length
0.0
Its x-y bounding box is a (minx, miny, maxx, maxy)
tuple.
其边界是一个元组(minx, miny, maxx, maxy)。
>>> points.bounds
(0.0, 0.0, 1.0, 1.0)
Members of a multi-point collection are accessed via the geoms
property.
其成员可以通过geoms属性来访问。
>>> list(points.geoms)
[<POINT (0 0)>, <POINT (1 1)>]
The constructor also accepts another MultiPoint instance or an unordered sequence of Point instances, thereby making copies.
其构造函数也接受另一个MultiPoint实例或一个无序的Point实例序列,从而得到一个副本。
>>> MultiPoint([Point(0, 0), Point(1, 1)])
<MULTIPOINT (0 0, 1 1)>