DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Collapse General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
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("Range") > 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.