intersection

Full name: ase2sprkkr.asr.defectformation.intersection

ase2sprkkr.asr.defectformation.intersection(L1, L2)[source]

Get intersection between two lines L1 and L2.

Helper function to calculate intersection of two given lines that were defined with the upper ‘line’ function.