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