This function returns the number of pcpoint objects in a pcpatch object.

Syntax

integer ST_numPoints(pcpatch pc);

Parameters

Parameter Description
pc The pcpatch object.

Examples

SELECT ST_NumPoints(pa) FROM patches LIMIT 1;
---------------------------
9