SphereEvaluation#

class ansys.geometry.core.shapes.surfaces.sphere.SphereEvaluation(sphere: Sphere, parameter: ansys.geometry.core.shapes.parameterization.ParamUV)#

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

Evaluate a sphere at given parameters.

Parameters:
sphere: ~ansys.geometry.core.shapes.surfaces.sphere.Sphere

Sphere to evaluate.

parameter: ParamUV

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

Overview#

position

Position of the evaluation.

normal

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

min_curvature

Minimum curvature of the sphere.

min_curvature_direction

Minimum curvature direction.

max_curvature

Maximum curvature of the sphere.

max_curvature_direction

Maximum curvature direction.

sphere

Sphere being evaluated.

parameter

Parameter that the evaluation is based upon.

Import detail#

from ansys.geometry.core.shapes.surfaces.sphere import SphereEvaluation

Property detail#

property SphereEvaluation.sphere: Sphere#

Sphere being evaluated.

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

Parameter that the evaluation is based upon.

Method detail#

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

Position of the evaluation.

Returns:
Point3D

Point that lies on the sphere at this evaluation.

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

The normal to the surface.

Returns:
UnitVector3D

Normal unit vector to the sphere at this evaluation.

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

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

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

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

Second derivative with respect to the U and V parameters.

Returns:
Vector3D

The second derivative with respect to the U and V parameters.

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

Second derivative with respect to the V parameter.

Returns:
Vector3D

The second derivative with respect to the V parameter.

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

Minimum curvature of the sphere.

Returns:
Real

Minimum curvature of the sphere.

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

Minimum curvature direction.

Returns:
UnitVector3D

Minimum curvature direction.

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

Maximum curvature of the sphere.

Returns:
Real

Maximum curvature of the sphere.

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

Maximum curvature direction.

Returns:
UnitVector3D

Maximum curvature direction.