DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > IRectangleAxisAligned_KC Search Documentation


IRectangleAxisAligned_KC Interface

GetRange
SetRange

Gives access to a axis aligned rectangle, which is represented as two ranges along each axis

See also Interface List


HRESULT GetRange(int axis, double* min, double* max)

Parameters

axis - [in] identifies the axis. 0- x axis, 1 - y axis

min - [out] lower limit of the range

max - [out] lower limit of the range

Remarks:

The methods returns limits of the range along the specified axis


HRESULT SetRange(int axis, double min, double max)

Parameters

axis - [in] identifies the axis. 0- x axis, 1 - y axis

min - [out] lower limit of the range

max - [out] lower limit of the range

Remarks:

The method modifies the range along the specified axis