Go to the documentation of this file.
7 #ifndef INCLUDE_JET_POINT_SIMPLE_LIST_SEARCHER3_H_
8 #define INCLUDE_JET_POINT_SIMPLE_LIST_SEARCHER3_H_
67 const Vector3D& origin,
double radius)
const override;
84 void serialize(std::vector<uint8_t>* buffer)
const override;
87 void deserialize(
const std::vector<uint8_t>& buffer)
override;
93 std::vector<Vector3D> _points;
117 #endif // INCLUDE_JET_POINT_SIMPLE_LIST_SEARCHER3_H_
PointSimpleListSearcher3Ptr makeShared() const
Builds shared pointer of PointSimpleListSearcher3 instance.
PointSimpleListSearcher3 & operator=(const PointSimpleListSearcher3 &other)
Assignment operator.
1-D read-only array accessor class.
Definition: array_accessor1.h:184
void build(const ConstArrayAccessor1< Vector3D > &points) override
Builds internal structure for given points list.
void set(const PointSimpleListSearcher3 &other)
Copy from the other instance.
Front-end to create PointSimpleListSearcher3 objects step by step.
Definition: point_simple_list_searcher3.h:103
bool hasNearbyPoint(const Vector3D &origin, double radius) const override
PointSimpleListSearcher3(const PointSimpleListSearcher3 &other)
Copy constructor.
static Builder builder()
Returns builder fox PointSimpleListSearcher3.
Definition: advection_solver2.h:18
PointNeighborSearcher3Ptr clone() const override
Creates a new instance of the object with same properties than original.
PointSimpleListSearcher3()
Default constructor.
Abstract base class for 3-D neighbor point searcher.
Definition: point_neighbor_searcher3.h:28
std::function< void(size_t, const Vector3D &)> ForEachNearbyPointFunc
Definition: point_neighbor_searcher3.h:33
#define JET_NEIGHBOR_SEARCHER3_TYPE_NAME(DerivedClassName)
Definition: point_neighbor_searcher3.h:95
void deserialize(const std::vector< uint8_t > &buffer) override
Deserializes the neighbor searcher from the buffer.
std::shared_ptr< PointNeighborSearcher3 > PointNeighborSearcher3Ptr
Shared pointer for the PointNeighborSearcher3 type.
Definition: point_neighbor_searcher3.h:82
void serialize(std::vector< uint8_t > *buffer) const override
Serializes the neighbor searcher into the buffer.
PointSimpleListSearcher3 build() const
Builds PointSimpleListSearcher3 instance.
3-D vector class.
Definition: vector3.h:25
void forEachNearbyPoint(const Vector3D &origin, double radius, const ForEachNearbyPointFunc &callback) const override
Abstract base class for 3-D point neighbor searcher builders.
Definition: point_neighbor_searcher3.h:85
Simple ad-hoc 3-D point searcher.
Definition: point_simple_list_searcher3.h:22
PointNeighborSearcher3Ptr buildPointNeighborSearcher() const override
Returns shared pointer of PointNeighborSearcher3 type.
std::shared_ptr< PointSimpleListSearcher3 > PointSimpleListSearcher3Ptr
Shared pointer for the PointSimpleListSearcher3 type.
Definition: point_simple_list_searcher3.h:97