TorusEvaluation#

class ansys.geometry.core.shapes.surfaces.torus.TorusEvaluation(torus: Torus, parameter: ansys.geometry.core.shapes.parameterization.ParamUV)#

Bases: ansys.geometry.core.shapes.surfaces.surface_evaluation.SurfaceEvaluation

Evaluate the torus`` at given parameters.

Parameters:
Torus: ~ansys.geometry.core.shapes.surfaces.torus.Torus

Torust to evaluate.

parameter: ParamUV

Parameters (u, v) to evaluate the torus at.

Overview#

position

Position of the evaluation.

normal

Normal to the surface.

u_derivative

First derivative with respect to the U parameter.

v_derivative

First derivative with respect to the V parameter.

uu_derivative

Second derivative with respect to the U parameter.

uv_derivative

Second derivative with respect to the U and V parameters.

vv_derivative

Second derivative with respect to the V parameter.

curvature

Curvature of the torus.

min_curvature

Minimum curvature of the torus.

min_curvature_direction

Minimum curvature direction.

max_curvature

Maximum curvature of the torus.

max_curvature_direction

Maximum curvature direction.

torus

Torus being evaluated.

parameter

Parameter that the evaluation is based upon.

Import detail#

from ansys.geometry.core.shapes.surfaces.torus import TorusEvaluation

Property detail#

property TorusEvaluation.torus: Torus#

Torus being evaluated.

property TorusEvaluation.parameter: ansys.geometry.core.shapes.parameterization.ParamUV#

Parameter that the evaluation is based upon.

Method detail#

TorusEvaluation.position() ansys.geometry.core.math.point.Point3D#

Position of the evaluation.

Returns:
Point3D

Point that lies on the torus at this evaluation.

TorusEvaluation.normal() ansys.geometry.core.math.vector.UnitVector3D#

Normal to the surface.

Returns:
UnitVector3D

Normal unit vector to the torus at this evaluation.

TorusEvaluation.u_derivative() ansys.geometry.core.math.vector.Vector3D#

First derivative with respect to the U parameter.

Returns:
Vector3D

First derivative with respect to the U parameter.

TorusEvaluation.v_derivative() ansys.geometry.core.math.vector.Vector3D#

First derivative with respect to the V parameter.

Returns:
Vector3D

First derivative with respect to the V parameter.

TorusEvaluation.uu_derivative() ansys.geometry.core.math.vector.Vector3D#

Second derivative with respect to the U parameter.

Returns:
Vector3D

Second derivative with respect to the U parameter.

TorusEvaluation.uv_derivative() ansys.geometry.core.math.vector.Vector3D#

Second derivative with respect to the U and V parameters.

Returns:
Vector3D

Second derivative with respect to the U and V parameters.

TorusEvaluation.vv_derivative() ansys.geometry.core.math.vector.Vector3D#

Second derivative with respect to the V parameter.

Returns:
Vector3D

Second derivative with respect to the V parameter.

TorusEvaluation.curvature() beartype.typing.Tuple[ansys.geometry.core.typing.Real, ansys.geometry.core.math.vector.Vector3D, ansys.geometry.core.typing.Real, ansys.geometry.core.math.vector.Vector3D]#

Curvature of the torus.

Returns:
Tuple[Real, Vector3D, Real, Vector3D]

Minimum and maximum curvature value and direction, respectively.

TorusEvaluation.min_curvature() ansys.geometry.core.typing.Real#

Minimum curvature of the torus.

Returns:
Real

Minimum curvature of the torus.

TorusEvaluation.min_curvature_direction() ansys.geometry.core.math.vector.UnitVector3D#

Minimum curvature direction.

Returns:
UnitVector3D

Minimum curvature direction.

TorusEvaluation.max_curvature() ansys.geometry.core.typing.Real#

Maximum curvature of the torus.

Returns:
Real

Maximum curvature of the torus.

TorusEvaluation.max_curvature_direction() ansys.geometry.core.math.vector.UnitVector3D#

Maximum curvature direction.

Returns:
UnitVector3D

Maximum curvature direction.