// // 摘要: // Tests that the value of the named element is within a rectangle (see $within // and $box). // // 参数: // name: // The name of the element to test. // // lowerLeftX: // The x coordinate of the lower left corner. // // lowerLeftY: // The y coordinate of the lower left corner. // // upperRightX: // The x coordinate of the upper right corner. // // upperRightY: // The y coordinate of the upper right corner. // // 返回结果: // The builder (so method calls can be chained). public static FilterDefinition <BsonDocument> WithinRectangle(string name, double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY) { return(filter.GeoWithinBox(name, lowerLeftX, lowerLeftY, upperRightX, upperRightY)); }