PT_PointReal

PT_PointReal -- converts a point to a real.

Syntax

#include <cogdb.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:

See Also

Point Structure, Storage, and Manipulation, PT_PointString, PT_PointInt, and PT_PointFormat

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.