Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve2d::area Method
Syntax
C++
bool area(double startParam, double endParam, double& value, const OdGeTol& tol = OdGeContext::gTol) const;

Gets the area of the interval of the curve defined by startParam and endParam.

Parameters
Description
startParam
[in] Parameter value of interval start.
endParam
[in] Parameter value of interval end (must be greater than startParam).
value
[out] Output area of curve between startParam and endParam.
tol
[in] Geometric tolerance.

true if the area was successfully calculated with the given tolerance; false otherwise.

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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