#include <Point3d.hpp>
Public Member Functions | |
bool | operator!= (const Point3d &other) const |
check inequality More... | |
Point3d | operator+ (const Vector3d &vec) const |
point plus a vector is a new point More... | |
Point3d & | operator+= (const Vector3d &vec) |
point plus a vector is a new point More... | |
Vector3d | operator- (const Point3d &other) const |
point minus another point is a vector More... | |
bool | operator== (const Point3d &other) const |
check equality More... | |
Point3d () | |
default constructor creates point at 0, 0, 0 More... | |
Point3d (double x, double y, double z) | |
constructor with x, y, z More... | |
Point3d (const Point3d &other) | |
copy constructor More... | |
double | x () const |
get x More... | |
double | y () const |
get y More... | |
double | z () const |
get z More... | |
openstudio::Point3d::Point3d | ( | ) |
default constructor creates point at 0, 0, 0
openstudio::Point3d::Point3d | ( | double | x, |
double | y, | ||
double | z | ||
) |
constructor with x, y, z
openstudio::Point3d::Point3d | ( | const Point3d & | other | ) |
copy constructor
bool openstudio::Point3d::operator!= | ( | const Point3d & | other | ) | const |
check inequality
point plus a vector is a new point
point minus another point is a vector
bool openstudio::Point3d::operator== | ( | const Point3d & | other | ) | const |
check equality
double openstudio::Point3d::x | ( | ) | const |
get x
double openstudio::Point3d::y | ( | ) | const |
get y
double openstudio::Point3d::z | ( | ) | const |
get z