fpoint

 

Contents

Name

fpoint

Remark

The fpoint class provides methods and properties common to data points located in a two dimensional or planar space whose (x,y) coordinates are doubles.

Hierarchy

Examples

EX1

void fpoint_ex1()
{
    fpoint fpt(1.2, 7.6);
    printf("x = %g   y = %g\n", fpt.x, fpt.y);
}

header to Include

origin.h

Reference

Members

Name Brief Example
fpoint constructor which initializes the fpoint object from x and y coordinates Examples

Property

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