PT_NewCPoint

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `PT_NewCPoint`

`PT_NewCPoint` -- allocates and initializes a new point structure.

## Syntax

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

Prev | Home | Next
`PT_InitClient` | Up | `PT_PointCopyValue`

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