ImageGear Professional v18.4 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_init |
The function initializes the geometry entity.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_geom_init( HIG_VECT_ENTITY hEntity, enumIGVectGeometryType nType, long nPointCount, long nColorAlign, VECT_BOOL bUseNormals, VECT_BOOL bUseColors ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Geometry entity handle. |
nType | enumIGVectGeometryType | Type of the geometry. |
nPointCount | long | Geometry point count. |
nColorAlign | long | Color alignment. |
bUseNormals | VECT_BOOL | Normals usage flag. |
bUseColors | VECT_BOOL | Local colors usage flag. |
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