pub fn get_dx(pt1: Point64, pt2: Point64) -> f64
Calculate slope dx for an edge defined by two points Direct port from clipper.engine.cpp line 116