Close

Relief for ODA Team in Ukraine

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

Determines whether the ModelerGeometry object is a planar surface. 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] Passed-in parameter for returning the indicator of whether the surface is planar.
ptOnSurface
[out] Passed-in parameter for returning the point on the surface (if the surface is planar).
normal
[out] Passed-in parameter for returning the plane normal (if the surface is planar).

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

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