HM_ExtAPI::GeomCurveGetParameterBounds()
Returns information about parameter range of the curve.
Syntax
bool GeomCurveGetParameterBounds(
const HM_EntityGeometryCurve & curve,
double& start_param,
double& end_param,
bool& no_bounds,
bool& periodic
);
Type
HyperMesh Ext API
Description
If the function succeeds, the return value is true. If the function fails, the return value is false. To get extended value information, call HM_ExtAPI::GetLastErrorCode().
Requires including hm_extapi.h.
Inputs
- curve
- [in] - Handle to curve object that was returned by previous calls to API function.
- start_param
- [out] - Lower bound of curve parameter range.
- end_param
- [out] - Upper bound of curve parameter range.
- no_bounds
- [out] - Flag that specifies whether parameterization has bounds. When function returns, this parameter can have one of following values.
- periodic
- [out] - Upper bound of curve parameter range.
Errors
None.