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#

torus

Torus being evaluated.

parameter

Parameter that the evaluation is based upon.

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.

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.

property TorusEvaluation.position: ansys.geometry.core.math.point.Point3D#

Position of the evaluation.

Returns:
Point3D

Point that lies on the torus at this evaluation.

property TorusEvaluation.normal: ansys.geometry.core.math.vector.UnitVector3D#

Normal to the surface.

Returns:
UnitVector3D

Normal unit vector to the torus at this evaluation.

property 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.

property 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.

property 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.

property 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.

property 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.

property TorusEvaluation.curvature: 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.

property TorusEvaluation.min_curvature: ansys.geometry.core.typing.Real#

Minimum curvature of the torus.

Returns:
Real

Minimum curvature of the torus.

property TorusEvaluation.min_curvature_direction: ansys.geometry.core.math.vector.UnitVector3D#

Minimum curvature direction.

Returns:
UnitVector3D

Minimum curvature direction.

property TorusEvaluation.max_curvature: ansys.geometry.core.typing.Real#

Maximum curvature of the torus.

Returns:
Real

Maximum curvature of the torus.

property TorusEvaluation.max_curvature_direction: ansys.geometry.core.math.vector.UnitVector3D#

Maximum curvature direction.

Returns:
UnitVector3D

Maximum curvature direction.

Attribute detail#

TorusEvaluation.cache#