API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_get_pointcount |
The function returns the total point count of the geometry.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_pointcount(
HIG_VECT_ENTITY hEntity,
long* lpPointCount
);
|
Name | Type | Description |
---|---|---|
hEntity | HIG_VECT_ENTITY | Geometry entity handle. |
lpPointCount | long* | Buffer for the point count of the geometry. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
The return value is also corresponds to the color count and (or) normal count if the arguments bUseColors and/or bUseNormals of IG_vect_geom_init() was set to VECT_TRUE.