Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbNurbSurface::isPlanar Method
Syntax
C++
OdResult isPlanar(bool& bIsPlanar, OdGePoint3d& ptOnSurface, OdGeVector3d& normal) const;

Determines whether the surface is planar. If the surface is planar, also returns the plane information and normal. If the surface is planar, the method returns true via the bIsPlanar parameter, otherwise the method returns false. 

 

Parameters
Description
bIsPlanar
[out] A passed-in parameter for returning the indicator of whether the surface is planar.
ptOnSurface
[out] A passed-in parameter for returning the point on the surface (if the surface is planar).
normal
[out] A passed-in parameter for returning the plane normal (if the surface is planar).

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.