Share

AcGiFaceData::normals

C++

virtual ACDBCORE2D_PORT AcGeVector3d* normals() const;

Description

Returns a pointer to an array of normal vectors, one for each face in the mesh or shell the AcGiFaceData object is used with. If the normal's data array has not been set, then NULL is returned.

The pointer returned by this function points to the actual array in use by the graphics system, not a copy. Do not free or delete this array unless the array's memory was dynamically allocated and the worldDraw() or viewportDraw() function it's being used within is about to return.

Links

AcGiFaceData

Was this information helpful?