// // 摘要: // Tests that the value of the named element is within a polygon (see $within and // $polygon). // // 参数: // name: // The name of the element to test. // // points: // An array of points that defines the polygon (the second dimension must be of // length 2). // // 返回结果: // The builder (so method calls can be chained). public static FilterDefinition <BsonDocument> WithinPolygon(string name, double[,] points) { return(filter.GeoWithinPolygon(name, points)); }