BoxUV#

class ansys.geometry.core.shapes.box_uv.BoxUV(range_u: ansys.geometry.core.shapes.parameterization.Interval = None, range_v: ansys.geometry.core.shapes.parameterization.Interval = None)#

Provides the implementation for BoxUV class.

Overview#

is_empty

Check if this BoxUV is empty.

proportion

Evaluate the BoxUV at the given proportions.

get_center

Evaluate the this BoxUV in the center.

is_negative

Check whether the BoxUV is negative.

contains

Check whether the BoxUV contains a given u and v pair parameter.

inflate

Enlarge the BoxUV u and v intervals by delta_u and delta_v respectively.

get_corner

Get the corner location of the BoxUV.

interval_u

u interval.

interval_v

v interval.

__eq__

Check whether two BoxUV instances are equal.

__ne__

Check whether two BoxUV instances are not equal.

Import detail#

from ansys.geometry.core.shapes.box_uv import BoxUV

Property detail#

property BoxUV.interval_u: ansys.geometry.core.shapes.parameterization.Interval#

u interval.

property BoxUV.interval_v: ansys.geometry.core.shapes.parameterization.Interval#

v interval.

Method detail#

BoxUV.__eq__(other: object) bool#

Check whether two BoxUV instances are equal.

BoxUV.__ne__(other: object) bool#

Check whether two BoxUV instances are not equal.

BoxUV.is_empty()#

Check if this BoxUV is empty.

BoxUV.proportion(prop_u: ansys.geometry.core.typing.Real, prop_v: ansys.geometry.core.typing.Real) ansys.geometry.core.shapes.parameterization.ParamUV#

Evaluate the BoxUV at the given proportions.

BoxUV.get_center() ansys.geometry.core.shapes.parameterization.ParamUV#

Evaluate the this BoxUV in the center.

BoxUV.is_negative(tolerance_u: ansys.geometry.core.typing.Real, tolerance_v: ansys.geometry.core.typing.Real) bool#

Check whether the BoxUV is negative.

BoxUV.contains(param: ansys.geometry.core.shapes.parameterization.ParamUV) bool#

Check whether the BoxUV contains a given u and v pair parameter.

BoxUV.inflate(delta_u: ansys.geometry.core.typing.Real, delta_v: ansys.geometry.core.typing.Real) BoxUV#

Enlarge the BoxUV u and v intervals by delta_u and delta_v respectively.

BoxUV.get_corner(location: LocationUV) ansys.geometry.core.shapes.parameterization.ParamUV#

Get the corner location of the BoxUV.