API Reference > Classes > PRC Base Data Types Classes > OdPrcUVParameterization Class > OdPrcUVParameterization Methods > set Method > OdPrcUVParameterization::set Method (OdGeInterval &, OdGeInterval &, bool, double, double, double, double)
OdPrcUVParameterization::set Method (OdGeInterval &, OdGeInterval &, bool, double, double, double, double)
Syntax
C++
OdResult set(const OdGeInterval & ivU, const OdGeInterval & ivV, bool swap_uv = false, double u_coeff_a = 1, double v_coeff_a = 1, double u_coeff_b = 0, double v_coeff_b = 0);
Parameters 
Description 
const OdGeInterval & ivU 
[in] A new minimum and maximum value for U represented with an OdGeInterval object.  
const OdGeInterval & ivV 
[in] A new minimum and maximum value for V represented with an OdGeInterval object.  
bool swap_uv = false 
[in] A new value of the swap flag to be set.  
double u_coeff_a = 1 
[in] A new u_coeff_a value. Default value is 1.0.  
double v_coeff_a = 1 
[in] A new v_coeff_a value. Default value is 1.0.  
double u_coeff_b = 0 
[in] A new u_coeff_b value. Default value is 0.0.  
double v_coeff_b = 0 
[in] A new v_coeff_b value. Default value is 0.0.
 

Returns eOk if new values were successfully set, or an appropriate error code in the other case.

Sets a new domain, a new swap flag value, and u- and v-coefficients to new values. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.