summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/shapes.cpp
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-01-11 13:54:10 -0500
committerHari Khalsa <hkhalsa@10gen.com>2013-01-14 12:59:49 -0500
commitd389aca222298dc75e83a2e25c0339fc09493ffc (patch)
tree0711b5d9fc4d2e8ff121e54ec39030d76f1d4f48 /src/mongo/db/geo/shapes.cpp
parentf86c2934777dc12244b60829c8da9bff1097a877 (diff)
downloadmongo-d389aca222298dc75e83a2e25c0339fc09493ffc.tar.gz
allow full non-near geo functionality in matcher
Diffstat (limited to 'src/mongo/db/geo/shapes.cpp')
-rw-r--r--src/mongo/db/geo/shapes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/geo/shapes.cpp b/src/mongo/db/geo/shapes.cpp
index 6ea6e7bd9be..b1cc1ffd481 100644
--- a/src/mongo/db/geo/shapes.cpp
+++ b/src/mongo/db/geo/shapes.cpp
@@ -49,6 +49,11 @@ namespace mongo {
return buf.str();
}
+////////////// Circle
+
+ Circle::Circle() {}
+ Circle::Circle(double radius, Point center) : radius(radius), center(center) {}
+
////////////// Box