Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
geCalculatePlane Function
Syntax
C++
GE_TOOLKIT_EXPORT OdGeError geCalculatePlane(const OdGePoint3dArray& points, OdGePlane& plane, const OdGeTol& tol = OdGeContext::gTol, bool validateCoplanar = true);

Returns the plane defined by the specified points. 

 

Parameters
Description
points
[in] Array of 3D points.
plane
[out] Receives the calculated plane.
tol
[in] Geometric tolerance.
validateCoplanar
[in] Check whether curves/points are coplanar (set false only if curves/points are coplanar).

Possible return values are as follows: 

untitled table kOk kNonCoplanarGeometry kDegenerateGeometry kSingularPoint 

Corresponding C++ library: TD_Ge

File: GeGbl.h 

Module: API Reference 

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