fpoint3d
The fpoint3d class provides methods and properties common to data points located in a three dimensional space whose (x,y,z) coordinates are doubles.
EX1
void fpoint3d_ex1() { fpoint3d fpt3(2.2, 7.6, 0.5); printf("x = %g y = %g z = %g\n", fpt3.x, fpt3.y, fpt3.z); }
origin.h
Name | Brief | Example |
---|---|---|
fpoint3d | constructor which initializes the fpoint3d object from x, y, and z coordinates | Examples |
Name | Brief | Example |
---|---|---|
x | x coordinate of the point | Examples |
y | y coordinate of the point | Examples |
z | z coordinate of the point | Examples |