MapBoundsIn2Out method

Maps the input coordinate space to the output coordinate space.

Syntax


HRESULT retVal = object.MapBoundsIn2Out(pInBounds, ulNumInBnds, ulOutIndex, pOutBounds);

Parameters

pInBounds [in]

Type: DXBNDS

Pointer to an array of DXBNDS input bounds structures to map. If NULL, the currently defined bounds of the inputs are used.

ulNumInBnds [in]

Type: unsigned long

Number of structures pointed to by the pInBounds parameter.

ulOutIndex [in]

Type: unsigned long

Index of the output coordinate space in which to store the result. This is usually index zero, because most transforms have only one output.

pOutBounds [out]

Type: DXBNDS

Pointer to the resulting output bounds.

Remarks

This method returns the bounds of the object that is produced if the IDXTransform::Execute method is called, based on the current property settings.

If the transform doesn't use the extent of one or more of the inputs in calculating the extent of the output, it can simply ignore them. The caller of the method typically provides these extents.

When you have more than one output, you must specify which output space should correspond to the result. If there is only one output, the ulOutIndex value should be zero.

See also

IDXTransform::MapBoundsOut2In

 

 

Show: