PT_PointInt

PT_PointInt -- converts a point to an integer.

Syntax

#include <cogdb.h>

long PT_PointInt(PT_pCPOINT point);

Arguments

point

A point whose value should be returned.

Returns

An integer 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_PointReal, PT_PointFormat

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