* @param n The number of the input parameter to set the domain for.
*/
public void setDomainForInput( PDRange range, int n )
{
COSArray rangeArray = getRangeArray("Domain", n );
rangeArray.set( n*2, new COSFloat( range.getMin() ) );
rangeArray.set( n*2+1, new COSFloat( range.getMax() ) );
}