Source code for elphick.mass_composition.utils.geometry

import numpy as np


[docs]def midpoint(p1, p2): return np.mean([p1, p2], axis=0)