API Reference > OdDg Classes > OdDgBSplineSurface Class > OdDgBSplineSurface Methods > OdDgBSplineSurface::getNormal Method
OdDgBSplineSurface::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–2020. Open Design Alliance. All rights reserved.