ALERT
Loading...
Searching...
No Matches
Point3D Class Reference

Public Member Functions

 Point3D (double _x=0, double _y=0, double _z=0)
 
 Point3D (const Point3D &pt)
 
void Print ()
 
void Translate (double a, double b, double c)
 
 Point3D (double _x=0, double _y=0, double _z=0)
 
 Point3D (const Point3D &pt)
 
void Print ()
 

Public Attributes

double x
 x coordinates
 
double y
 y coordinates
 
double z
 z coordinates
 

Constructor & Destructor Documentation

◆ Point3D() [1/2]

Point3D::Point3D ( double _x = 0,
double _y = 0,
double _z = 0 )

Constructor

◆ Point3D() [2/2]

Point3D::Point3D ( const Point3D & pt)

Copy constructor

Member Function Documentation

◆ Print()

void Point3D::Print ( )

Printing

◆ Translate()

void Point3D::Translate ( double a,
double b,
double c )

Apply a linear translation


The documentation for this class was generated from the following files: