API Reference > OdDb Classes > OdDbNurbSurface Class > OdDbNurbSurface Methods > OdDbNurbSurface::getNormal Method
OdDbNurbSurface::getNormal Method
Syntax
C++
OdResult getNormal(double dU, double dV, OdGeVector3d& normal) const;
Parameters 
Description 
double dU 
[in] u parameter.  
double dV 
[in] v parameter.  
OdGeVector3d& normal 
[out] A passed-in parameter for returning the normal vector.
 

Returns eOk if successful. If the surface doesn't contain any NURBS information, returns eFail. If the dU or dV values are invalid, returns eOutOfRange.

Returns the normal vector at the specified parameter location ([u, v]). 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.