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:
uReal

u-parameter.

vReal

v-parameter.

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#

u

u-parameter.

v

v-parameter.

__add__

Add the u and v components of the other ParamUV to this ParamUV.

__sub__

Subtract the u and v components of the other ParamUV from this ParamUV.

__mul__

Multiplies the u and v components of this ParamUV by the other ParamUV.

__truediv__

Divides the u and v components of this ParamUV by the other ParamUV.

__iter__

Iterate a ParamUV.

__repr__

Represent the ParamUV as a string.

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:
otherParamUV

The parameters to add these parameters.

Returns:
ParamUV

The sum of the parameters.

ParamUV.__sub__(other: ParamUV) ParamUV#

Subtract the u and v components of the other ParamUV from this ParamUV.

Parameters:
otherParamUV

The parameters to subtract from these parameters.

Returns:
ParamUV

The difference of the parameters.

ParamUV.__mul__(other: ParamUV) ParamUV#

Multiplies the u and v components of this ParamUV by the other ParamUV.

Parameters:
otherParamUV

The parameters to multiply by these parameters.

Returns:
ParamUV

The product of the parameters.

ParamUV.__truediv__(other: ParamUV) ParamUV#

Divides the u and v components of this ParamUV by the other ParamUV.

Parameters:
otherParamUV

The parameters to divide these parameters by.

Returns:
ParamUV

The quotient of the parameters.

ParamUV.__iter__()#

Iterate a ParamUV.

ParamUV.__repr__() str#

Represent the ParamUV as a string.