ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
27 Point(
const std::vector<double> &point);
28 Point(
const std::vector<double> &point,
const std::set<size_t> &
cluster_ids);
39 inline void SetID(
int pid) {
id = pid; }
Point & operator=(const Point &other)
Point operator-(const Point &p) const
void smoothen_cloud(const PointCloud &cloud, PointCloud &result_cloud, double radius)
Point operator+(const Point &p) const
bool operator==(const Point &p) const
double squared_norm() const
Point operator*(Point x, double c)
std::set< size_t > cluster_ids
friend std::ostream & operator<<(std::ostream &os, const Point &p)
std::vector< double > as_vector() const
void load_csv_file(const char *fname, PointCloud &cloud, const char delimiter, size_t skip=0)
double operator*(const Point &p) const
Point operator/(double c) const