PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ SHPGetPartVertexCount()

static int SHPGetPartVertexCount ( const SHPObject psObject,
int  iPart 
)
static

Definition at line 2685 of file shpopen.c.

2686{
2687 if( iPart == psObject->nParts-1 )
2688 return psObject->nVertices - psObject->panPartStart[iPart];
2689 else
2690 return psObject->panPartStart[iPart+1] - psObject->panPartStart[iPart];
2691}
int * panPartStart
Definition shapefil.h:386

References tagSHPObject::nParts, tagSHPObject::nVertices, and tagSHPObject::panPartStart.

Referenced by SHPRewindIsInnerRing(), and SHPRewindObject().

Here is the caller graph for this function: