API Reference > Classes > PRC Base Data Types Classes > OdPrcUVParameterization Class > OdPrcUVParameterization Methods > set Method > OdPrcUVParameterization::set Method (OdPrcDomain &, bool, double, double, double, double)
OdPrcUVParameterization::set Method (OdPrcDomain &, bool, double, double, double, double)
Syntax
C++
OdResult set(const OdPrcDomain & uv_domain, 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 OdPrcDomain & uv_domain 
[in] A reference to a new domain to be set.  
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.