Rather than calling this constructor, which requires specifying the IndexT template argument explicitly, the preferred idiom is to call MakeS2ContainsPointQuery() instead. For example:
return MakeS2ContainsPointQuery(&index).Contains(p);
See Implementation
Rather than calling this constructor, which requires specifying the IndexT template argument explicitly, the preferred idiom is to call MakeS2ContainsPointQuery() instead. For example:
return MakeS2ContainsPointQuery(&index).Contains(p);