API Reference > OdDg Classes > OdDgBSplineSurface Class > OdDgBSplineSurface Methods > OdDgBSplineSurface::isPointOnSurface Method
OdDgBSplineSurface::isPointOnSurface Method
Syntax
C++
OdResult isPointOnSurface(const OdGePoint3d& point, bool& bOnSurface) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] A point.  
bool& bOnSurface 
[out] A passed-in parameter for returning the indicator of whether the specified point is on the surface.
 

Returns eOk if successful. If the surface doesn't contain any NURBS information, returns eFail.

Determines whether a specified point is on the surface. If specified point is on the surface, the method returns true via bOnSurface, otherwise the method returns false. 

 

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