2.2.4.15 fpoint3d


Name

fpoint3d

Remark

The fpoint3d class provides methods and properties common to data points located in a three dimensional space whose (x,y,z) coordinates are doubles.

Hierarchy

  • fpoint3d

Examples

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);
}

Header to Include

origin.h

Reference

Members

Name Brief Example
fpoint3d constructor which initializes the fpoint3d object from x, y, and z coordinates Examples

Property

Name Brief Example
x x coordinate of the point Examples
y y coordinate of the point Examples
z z coordinate of the point Examples