Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header only API for polygon-polygon distance #1065

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style
isVoid committed Apr 11, 2023

Verified

This commit was signed with the committer’s verified signature.
MilesCranmer Miles Cranmer
commit b77285cd028349fbeb520d39d2ca87bdf2e7e552
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@
* limitations under the License.
*/

#include <cuspatial/experimental/detail/algorithm/is_point_in_polygon.cuh>
#include <cuspatial/detail/utility/zero_data.cuh>
#include <cuspatial/experimental/detail/algorithm/is_point_in_polygon.cuh>
#include <cuspatial/experimental/iterator_factory.cuh>
#include <cuspatial/traits.hpp>
#include <cuspatial/vec_2d.hpp>
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@

#pragma once

#include <cuspatial/experimental/detail/algorithm/linestring_distance.cuh>
#include <cuspatial/error.hpp>
#include <cuspatial/experimental/detail/algorithm/linestring_distance.cuh>
#include <cuspatial/traits.hpp>
#include <cuspatial/vec_2d.hpp>

@@ -32,7 +32,6 @@

namespace cuspatial {


template <class MultiLinestringRange1, class MultiLinestringRange2, class OutputIt>
OutputIt pairwise_linestring_distance(MultiLinestringRange1 multilinestrings1,
MultiLinestringRange2 multilinestrings2,
6 changes: 4 additions & 2 deletions cpp/include/cuspatial_test/base_fixture.hpp
Original file line number Diff line number Diff line change
@@ -54,7 +54,8 @@ class RMMResourceMixin {
* class MyTestFixture : public cuspatial::test::BaseFixture {};
* ```
*/
class BaseFixture : public RMMResourceMixin, public ::testing::Test {};
class BaseFixture : public RMMResourceMixin, public ::testing::Test {
};

/**
* @brief Base test fixture class from which libcuspatial test with only value parameterization
@@ -80,7 +81,8 @@ class BaseFixture : public RMMResourceMixin, public ::testing::Test {};
*/
template <typename... Ts>
class BaseFixtureWithParam : public RMMResourceMixin,
public ::testing::TestWithParam<std::tuple<Ts...>> {};
public ::testing::TestWithParam<std::tuple<Ts...>> {
};

/**
* @brief Floating point types to be used in libcuspatial tests