PT_NewCPoint

PT_NewCPoint — allocates and initializes a new point structure.

Syntax

#include <cogent.h>

PT_pCPOINT PT_NewCPoint(void);

Arguments

None

Returns

A newly allocated point structure with all of its members set to sane values.

Description

This function allocates a new point structure on the heap and sets all of its members to sane values.

See Also

Point Structure, Storage, and Manipulation, PT_FindCPoint