ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_get_normals |
The function returns the geometry normals in the range of nStart..nEnd.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_normals( HIG_VECT_ENTITY hEntity, VECT_REAL* lpNormals, long nStart, long nEnd ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Geometry entity handle. |
lpNormals | VECT_REAL* | Buffer for the geometry normals. |
nStart | long | Start index of the normal. |
nEnd | long | End index of the normal. |
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
Using this function makes sense only if argument bUseNormals of IG_vect_geom_init() was set to VECT_TRUE.
The normal buffer must be long enough to receive (nEnd - nStart + 1) * 3 floating point values.