Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve3d::hasMidPoint Method
Syntax
C++
bool hasMidPoint(OdGePoint3d& point, double coef = 0.5) const;

Checks the boundaries of the curve interval and calculates a point from the curve interval that corresponds to the specified coefficient. 

 

Parameters
Description
point
[out] Receives the point from the curve interval that corresponds to the coefficient.
coef
[in] Coefficient from the interval [0; 1].

true if and only if the parametric interval of the curve is bounded and the value of the coef variable lies within [0; 1].

The value of the coef variable must be within [0; 1], where:

  • 0 is the beginning of the curve interval
  • 0.5 is the middle of the curve interval
  • 1 is the end of the curve interval

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