Loading...
Searching...
No Matches
PointSimpleListSearcher.hpp
Go to the documentation of this file.
#define CUBBYFLOW_NEIGHBOR_SEARCHER_TYPE_NAME(DerivedClassName, N)
Definition PointNeighborSearcher.hpp:163
Definition Matrix.hpp:30
Abstract base class for N-D point neighbor searcher builders.
Definition PointNeighborSearcher.hpp:120
Abstract base class for N-D neighbor point searcher.
Definition PointNeighborSearcher.hpp:33
std::function< void(size_t, const Vector< double, N > &)> ForEachNearbyPointFunc
Definition PointNeighborSearcher.hpp:38
Front-end to create PointSimpleListSearcher objects step by step.
Definition PointSimpleListSearcher.hpp:155
Builder & operator=(Builder &&other) noexcept=delete
Deleted move assignment operator.
std::shared_ptr< PointNeighborSearcher< N > > BuildPointNeighborSearcher() const override
Returns shared pointer of PointNeighborSearcher type.
PointSimpleListSearcher< N > Build() const
Builds PointSimpleListSearcher instance.
std::shared_ptr< PointSimpleListSearcher< N > > MakeShared() const
Builds shared pointer of PointSimpleListSearcher instance.
Builder & operator=(const Builder &other)=delete
Deleted copy assignment operator.
~Builder() override=default
Default virtual destructor.
Builder(const Builder &other)=delete
Deleted copy constructor.
Builder(Builder &&other) noexcept=delete
Deleted move constructor.
Simple ad-hoc N-D point searcher.
Definition PointSimpleListSearcher.hpp:27
PointSimpleListSearcher(const PointSimpleListSearcher &other)
Copy constructor.
PointSimpleListSearcher()=default
Default constructor.
void Serialize(std::vector< uint8_t > *buffer) const override
Serializes the neighbor searcher into the buffer.
PointSimpleListSearcher(PointSimpleListSearcher &&other) noexcept
Move constructor.
void Build(const ConstArrayView1< Vector< double, N > > &points, double maxSearchRadius) override
Builds internal structure for given points list and max search radius.
void Set(const PointSimpleListSearcher &other)
Copy from the other instance.
std::shared_ptr< PointNeighborSearcher< N > > Clone() const override
Creates a new instance of the object with same properties than original.
~PointSimpleListSearcher() override=default
Default virtual destructor.
static Builder GetBuilder()
Returns builder fox PointSimpleListSearcher.
bool HasNearbyPoint(const Vector< double, N > &origin, double radius) const override
PointSimpleListSearcher & operator=(const PointSimpleListSearcher &other)
Copy assignment operator.
void Deserialize(const std::vector< uint8_t > &buffer) override
Deserializes the neighbor searcher from the buffer.
void ForEachNearbyPoint(const Vector< double, N > &origin, double radius, const ForEachNearbyPointFunc &callback) const override
PointSimpleListSearcher & operator=(PointSimpleListSearcher &&other) noexcept
Move assignment operator.
Definition pybind11Utils.hpp:21
std::shared_ptr< PointSimpleListSearcher< 3 > > PointSimpleListSearcher3Ptr
Shared pointer for the PointSimpleListSearcher3 type.
Definition PointSimpleListSearcher.hpp:147
std::shared_ptr< PointSimpleListSearcher< 2 > > PointSimpleListSearcher2Ptr
Shared pointer for the PointSimpleListSearcher2 type.
Definition PointSimpleListSearcher.hpp:144
1.9.8