diff --git a/src/Functions/pointInPolygon.cpp b/src/Functions/pointInPolygon.cpp index a780989e18c877104909824cc82a01a5915aa65d..00df42bdc1a772f16c0d65b89bdb26c06609a388 100644 --- a/src/Functions/pointInPolygon.cpp +++ b/src/Functions/pointInPolygon.cpp @@ -319,6 +319,10 @@ private: * - simplicity and performance; * - can be additionally speed up with loop unrolling and/or binary search for possible intersecting edges. * + * Drawbacks: + * - it's unspecified whether a point of the edge is inside or outside of a polygon + * (looks like it's inside for "left" edges and outside for "right" edges) + * * Why not to apply the same algorithm available in boost::geometry? * It will require to move data from columns to temporary containers. * Despite the fact that the boost library is template based and allows arbitrary containers and points,