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#

line

Line being evaluated.

parameter

Parameter that the evaluation is based upon.

position

Position of the evaluation.

tangent

Tangent of the evaluation.

first_derivative

First derivative of the evaluation.

second_derivative

Second derivative of the evaluation.

curvature

Curvature of the line, which is always 0.

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.

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

Position of the evaluation.

Returns:
Point3D

Point that lies on the line at this evaluation.

property LineEvaluation.tangent: ansys.geometry.core.math.vector.UnitVector3D#

Tangent of the evaluation.

Returns:
UnitVector3D

Tangent unit vector to the line at this evaluation.

Notes

This is always equal to the direction of the line.

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

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

property LineEvaluation.curvature: float#

Curvature of the line, which is always 0.

Returns:
Real

Curvature of the line, which is always 0.