ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_geom_set_normals
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_set_normals

This function sets the geometry normals in the range of nStart..nEnd.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_set_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 with the normals to be set.
nStart long Start normal index.
nEnd long End normal index.

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:

The function make sense only if bUseColors argument was set to VECT_TRUE during the geometry initialization.