Get normal of a line boundary element

Hi,

as titled. Currently it is possible to get the normal vector of a 2D boundary element using the function getOrientedSurfaceNormal. But for 1D boundary element, is there a similar function or a smart alternative to get its normal vector?

Regards,
Boyan