59 #include <unordered_map>
154 return os <<
"[" << P.
x <<
", " << P.
y <<
", " << P.
z <<
"]";
158 return A.
x ==
B.x && A.
y ==
B.y && A.
z ==
B.z;
165 std::vector<PointXYZ>
pts;
188 template <
class BBOX>
Eigen::Matrix3d B
Definition: PointCloudPlanarPatchDetection.cpp:512
PointXYZ & operator+=(const PointXYZ &P)
Definition: Cloud.h:108
PointXYZ(float x0, float y0, float z0)
Definition: Cloud.h:82
PointXYZ & operator*=(const float &a)
Definition: Cloud.h:122
float z
Definition: Cloud.h:74
float y
Definition: Cloud.h:74
PointXYZ cross(const PointXYZ P) const
Definition: Cloud.h:103
static PointXYZ floor(const PointXYZ P)
Definition: Cloud.h:129
PointXYZ & operator-=(const PointXYZ &P)
Definition: Cloud.h:115
float operator[](int i) const
Definition: Cloud.h:89
float sq_norm()
Definition: Cloud.h:101
float dot(const PointXYZ P) const
Definition: Cloud.h:99
float x
Definition: Cloud.h:74
bool operator==(const PointXYZ A, const PointXYZ B)
Definition: Cloud.h:157
PointXYZ operator-(const PointXYZ A, const PointXYZ B)
Definition: Cloud.h:141
PointXYZ max_point(std::vector< PointXYZ > points)
Definition: Cloud.cpp:61
PointXYZ operator+(const PointXYZ A, const PointXYZ B)
Definition: Cloud.h:137
PointXYZ operator*(const PointXYZ P, const float a)
Definition: Cloud.h:145
PointXYZ min_point(std::vector< PointXYZ > points)
Definition: Cloud.cpp:77
std::ostream & operator<<(std::ostream &os, const PointXYZ P)
Definition: Cloud.h:153
FN_SPECIFIERS MiniVec< float, N > floor(const MiniVec< float, N > &a)
Definition: MiniVec.h:75
Definition: PinholeCameraIntrinsic.cpp:16
bool kdtree_get_bbox(BBOX &) const
Definition: Cloud.h:189
size_t kdtree_get_point_count() const
Definition: Cloud.h:168
float kdtree_get_pt(const size_t idx, const size_t dim) const
Definition: Cloud.h:174
std::vector< PointXYZ > pts
Definition: Cloud.h:165