class neso_fame.mesh.StraightLineAcrossField(LazilyOffsetable)

A straight line that connects two points in the x1-x2 plane.

It is an AcrossFieldCurve.

Public members

north : SliceCoord
south : SliceCoord

Constructors

StraightLineAcrossField(north: SliceCoord, south: SliceCoord)

Initialize self. See help(type(self)) for accurate signature.

Special methods

__call__(s: numpy.typing.ArrayLike) SliceCoords

Calculate a position on the curve.

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

Properties

property x3_offset : float

Return the offset in the x3 direction.

property is_offset : bool

Indicate whether the object has been offset.


Last update: Sep 23, 2024