OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
openstudio::Point3d Class Reference

#include <Point3d.hpp>

Public Member Functions

Point3d operator+ (const Vector3d &vec) const
 point plus a vector is a new point More...
 
Point3doperator+= (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...
 

Constructor & Destructor Documentation

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

Member Function Documentation

Point3d openstudio::Point3d::operator+ ( const Vector3d vec) const

point plus a vector is a new point

Point3d& openstudio::Point3d::operator+= ( const Vector3d vec)

point plus a vector is a new point

Vector3d openstudio::Point3d::operator- ( const Point3d other) const

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