Tangent plane to a centerline

Hi,

I’ve been working with planes that are perpendicular and tangential (longitudinal) to a centerline in Slicer.

I understand that the views are always orthogonal and tangential to the centerline, and that additional sliders control degrees of freedom like the rotation of the curve’s normal vector.

My question is: How does Slicer determine the orientation of the tangential plane when the rotation angle is set to 0°?

Specifically, how does it know how to align the up vector or normal to separate, for example, a vessel into superior and inferior zones in a consistent way? (see figure)

Thanks in advance!