- class neso_fame.wall.WallSegment
Description of a line segment making up part of the tokamak wall.
Public members¶
Constructors¶
- WallSegment(R1: float, Z1: float, R2: float, Z2: float, tol: float)
Initialize self. See help(type(self)) for accurate signature.
Special methods¶
- __repr__()
Return repr(self).
- __eq__(other)
Return self==value.
- __hash__()
Return hash(self).
Methods¶
- crossed_by_ray_from_point(point: SliceCoord) Crossing
Test whether a ray extending rightward from point crosses the segment.
- min_distance_squared(coord: SliceCoord) float
Find the square of the minimum distance to a point on the line.
Last update:
Nov 07, 2024