ObjectPoint.cpp
Go to the documentation of this file.
1 
18 #include "ObjectPoint.h"
19 
20 ObjectPoint::ObjectPoint():X(0),Y(0),Z(0),SetId(0)
21 {
22 
23 }
24 
25 ObjectPoint::ObjectPoint(double x, double y, double z, int setId):X(x),Y(y),Z(z),SetId(setId)
26 {
27 
28 }
29 
31 {
32 
33 }
34 
36 {
37  return sqrt(pow((this->X)-p.getX(),2)+pow((this->Y)-p.getY(),2)+pow((this->Z)-p.getZ(),2));
38 }
39 
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
double getZ() const
Definition: ObjectPoint.h:37
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