# PRCPrototypeList

## Definitions

      #include <nitro/prc.h>

      typedef struct PRCPrototypeList
      {
      const PRCPrototypeEntry    *entries;
      int                         entrySize;
      const PRCPoint              *pointArray;
      int                         pointArraySize;

      int                     normalizeSize;
      } PRCPrototypeList;

## Elements

entries | Attribute information for each entry in the sample DB.
entrySize | The number of elements in `entries`.
pointArray | A pointer to an array in which each entry's coordinate values are lined up in a single row.
pointArraySize | The number of elements in `pointArray`.
normalizeSize | The normalized sizes of each coordinate value in `pointArray`.

## Description

This data forms the basis of the pattern recognition dictionary. Basically, it only holds the vertex coordinates of the polygonal lines that constitute each sample pattern. When actually used for recognition, it will be converted into a `PRCPrototypeDB` structure in which the length and angle of each line and the like have been precalculated and accumulated as additional information.

Each vertex coordinate data in the sample DB is processed based on a boundary box defined as: top-left `(0, 0)`, bottom-right `(normalizeSize-1, normalizeSize-1)`. If coordinate data exists outside of this range, correct processing cannot be guaranteed.

## See Also

`PRC_InitPrototypeDB*
`

## Revision History

10/28/2004 Changed regularize to normalize.
06/23/2004 Initial version.

CONFIDENTIAL