LineEvaluation#

class ansys.geometry.core.shapes.curves.line.LineEvaluation(line: Line, parameter: float = None)#

Bases: ansys.geometry.core.shapes.curves.curve_evaluation.CurveEvaluation

Provides for evaluating a line.

Overview#

position

Position of the evaluation.

tangent

Tangent of the evaluation, which is always equal to the direction of the line.

first_derivative

First derivative of the evaluation.

second_derivative

Second derivative of the evaluation.

curvature

Curvature of the line, which is always 0.

line

Line being evaluated.

parameter

Parameter that the evaluation is based upon.

Import detail#

from ansys.geometry.core.shapes.curves.line import LineEvaluation

Property detail#

property LineEvaluation.line: Line#

Line being evaluated.

property LineEvaluation.parameter: float#

Parameter that the evaluation is based upon.

Method detail#

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

Position of the evaluation.

Returns:
Point3D

Point that lies on the line at this evaluation.

LineEvaluation.tangent() ansys.geometry.core.math.vector.UnitVector3D#

Tangent of the evaluation, which is always equal to the direction of the line.

Returns:
UnitVector3D

Tangent unit vector to the line at this evaluation.

LineEvaluation.first_derivative() ansys.geometry.core.math.vector.Vector3D#

First derivative of the evaluation.

The first derivative is always equal to the direction of the line.

Returns:
Vector3D

First derivative of the evaluation.

LineEvaluation.second_derivative() ansys.geometry.core.math.vector.Vector3D#

Second derivative of the evaluation.

The second derivative is always equal to a zero vector Vector3D([0, 0, 0]).

Returns:
Vector3D

Second derivative of the evaluation, which is always Vector3D([0, 0, 0]).

LineEvaluation.curvature() float#

Curvature of the line, which is always 0.

Returns:
Real

Curvature of the line, which is always 0.