DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Computing > IRange Search Documentation


IRange Interface

GetMin
GetMax
Set

Controls range of double values. See Angle of SOR Slice for an example

A standalone range object can be created via IObjectGenerator_DG.Create("IRange") > IRange query.

See also Interface List


HRESULT GetMin( double* min )

Parameters

min - [out] the returned lower limit of the range in radians

Remarks:

The methods returns the lower limit of the range in radians


HRESULT GetMax( double* max )

Parameters

max - [out] the returned upper limit of the range in radians

Remarks:

The method returns the upper limit of the range in radians


HRESULT Set(double min, double max)

Parameters

min - [in] new value for the lower limit in radians

max - [in] new value for the upper limit in radians

Return Values

S_OK in case of success.
 
Remarks:

The method sets new values for the range. See also additional comments for the specific use case about valid input for this method.