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