API Reference > OdGe Classes > OdGePointOnSurface Class > OdGePointOnSurface Methods > tangentVector Method > OdGePointOnSurface::tangentVector Method (OdGeVector2d&, OdGeSurface&, OdGePoint2d&)
OdGePointOnSurface::tangentVector Method (OdGeVector2d&, OdGeSurface&, OdGePoint2d&)
Syntax
C++
OdGeVector3d tangentVector(const OdGeVector2d& vect, const OdGeSurface& surface, const OdGePoint2d& param);
Parameters 
Description 
const OdGeVector2d& vect 
[in] Any 2D vector. 
const OdGeSurface& surface 
[in] Any surface.  
const OdGePoint2d& param 
[in] Parameter to specify a point on surface.  

Maps the specified vector to the tangent plane of the surface at the point corresponding to the parameter 

 

Specifying surface or param updates the underlying value. 

The tangent vector is mapped as follows: 

tangentVector = uDeriv(1) * vect.x + vDeriv(1) * vect.y 

Currently not implemented.

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