PT_PointReal
PT_PointReal — converts a point to a real.
Syntax
#include <cogent.h>
double PT_PointReal(
PT_pCPOINT point)
;
Arguments
- point
A point whose value should be returned.
Returns
A floating point representation of the
point value.
Description
This function attempts to find the most reasonable
integer representation for the given point. This will
depend on the input type of the point:
PT_TYPE_INTEGER - the point value
PT_TYPE_REAL - the point value
PT_TYPE_STRING - atof() of the point value