ParamUV#
- class ansys.geometry.core.shapes.parameterization.ParamUV(u: ansys.geometry.core.typing.Real, v: ansys.geometry.core.typing.Real)#
Parameter class containing 2 parameters: (u, v).
- Parameters:
- u
Real U parameter.
- v
Real V parameter.
- u
Notes
Likened to a 2D point in UV space. Used as an argument in parametric surface evaluations. This matches the service implementation for the Geometry service.
Overview#
Add the u and v components of the other ParamUV to this ParamUV. |
|
Subtract the u and v components of a ParamUV from this ParamUV. |
|
Multiplies the u and v components of this ParamUV by a ParamUV. |
|
Divides the u and v components of this ParamUV by a ParamUV. |
|
Iterate a |
|
Represent the |
Import detail#
from ansys.geometry.core.shapes.parameterization import ParamUV
Property detail#
- property ParamUV.u: ansys.geometry.core.typing.Real#
U parameter.
- property ParamUV.v: ansys.geometry.core.typing.Real#
V parameter.
Method detail#
- ParamUV.__add__(other: ParamUV) ParamUV#
Add the u and v components of the other ParamUV to this ParamUV.
- Parameters:
- other
ParamUV The parameters to add these parameters.
- other
- Returns:
ParamUVThe sum of the parameters.
- ParamUV.__sub__(other: ParamUV) ParamUV#
Subtract the u and v components of a ParamUV from this ParamUV.
- Parameters:
- other
ParamUV The parameters to subtract from these parameters.
- other
- Returns:
ParamUVThe difference of the parameters.
- ParamUV.__mul__(other: ParamUV) ParamUV#
Multiplies the u and v components of this ParamUV by a ParamUV.
- Parameters:
- other
ParamUV The parameters to multiply by these parameters.
- other
- Returns:
ParamUVThe product of the parameters.
- ParamUV.__truediv__(other: ParamUV) ParamUV#
Divides the u and v components of this ParamUV by a ParamUV.
- Parameters:
- other
ParamUV The parameters to divide these parameters by.
- other
- Returns:
ParamUVThe quotient of the parameters.
- ParamUV.__iter__()#
Iterate a
ParamUV.