Close

Relief for ODA Team in Ukraine

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

Returns the plane defined by the specified points. 

 

Parameters
Description
curves
[in] Array of 3D curves.
numCurves
[in] Number of curves.
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 complanar).

Possible return values are as follows: 

untitled table kOk kNonCoplanarGeometry kDegenerateGeometry kSingularPoint

Supported curves are OdGeCircArc3d, OdGeEllipArc3d, OdGeNurbCurve3d, and OdGeLineSeg3d. 

Corresponding C++ library: TD_Ge

File: GeGbl.h 

Module: API Reference 

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