ImageGear Professional DLL v18.1 for Windows
IG_vect_geom_get_normals
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_get_normals

Glossary Item Box

The function returns the geometry normals in the range of nStart..nEnd.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_normals(
        HIG_VECT_ENTITY hEntity, 
        VECT_REAL* lpNormals,
        long nStart,
        long nEnd
);

Arguments:

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.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

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.

©2014. Accusoft Corporation. All Rights Reserved.