Leptonica  1.83.1
Image processing and image analysis suite
Pta Struct Reference

#include <pix_internal.h>

Data Fields

l_int32 n
 
l_int32 nalloc
 
l_atomic refcount
 
l_float32 * x
 
l_float32 * y
 

Detailed Description

Array of points

Definition at line 288 of file pix_internal.h.

Field Documentation

◆ n

l_int32 Pta::n

actual number of pts

Definition at line 290 of file pix_internal.h.

Referenced by ptaAddPt(), ptaaGetPt(), ptaCopy(), ptaEmpty(), ptaGetCount(), ptaGetIPt(), ptaGetPt(), ptaInsertPt(), ptaRemovePt(), and ptaSetPt().

◆ nalloc

l_int32 Pta::nalloc

size of allocated arrays

Definition at line 291 of file pix_internal.h.

Referenced by ptaAddPt(), ptaCopy(), ptaExtendArrays(), and ptaInsertPt().

◆ refcount

l_atomic Pta::refcount

reference count (1 if no clones)

Definition at line 292 of file pix_internal.h.

Referenced by ptaClone(), and ptaDestroy().

◆ y


The documentation for this struct was generated from the following file: