DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs 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.