ObjectPoint.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <math.h>
21 #include <memory>
22 #include "ros/ros.h"
23 
24 class ObjectPoint {
25 private:
26  double X;
27  double Y;
28  double Z;
29  int SetId;
30 public:
31  ObjectPoint();
32  ObjectPoint(double x, double y, double z, int setId);
33  virtual ~ObjectPoint();
34 
35  double getX() const {return this->X;}
36  double getY() const {return this->Y;}
37  double getZ() const {return this->Z;}
38  int getSetId() const {return this->SetId;}
39 
40  void setX(double x) {this->X=x;}
41  void setY(double y) {this->Y=y;}
42  void setZ(double z) {this->Z=z;}
43  void setSetId(int setId) {this->SetId=setId;}
44 
45  void updatePoint(const double x, const double y, const double z) {this->X=x; this->Y=y; this->Z=z;}
46  double calcDistance(ObjectPoint p);
47 
48 };
49 
void updatePoint(const double x, const double y, const double z)
Definition: ObjectPoint.h:45
double Y
Definition: ObjectPoint.h:27
double getX() const
Definition: ObjectPoint.h:35
double Z
Definition: ObjectPoint.h:28
virtual ~ObjectPoint()
Definition: ObjectPoint.cpp:30
void setSetId(int setId)
Definition: ObjectPoint.h:43
void setY(double y)
Definition: ObjectPoint.h:41
void setX(double x)
Definition: ObjectPoint.h:40
int getSetId() const
Definition: ObjectPoint.h:38
double getZ() const
Definition: ObjectPoint.h:37
void setZ(double z)
Definition: ObjectPoint.h:42
double calcDistance(ObjectPoint p)
Definition: ObjectPoint.cpp:35
double getY() const
Definition: ObjectPoint.h:36
double X
Definition: ObjectPoint.h:26


asr_intermediate_object_generator
Author(s): Borella Jocelyn, Mei├čner Pascal
autogenerated on Thu Nov 21 2019 03:53:41