public static double PointLineDistance( Vector2 p, Vector2 origin, Vector2 dir )
netDxf 2.1.0 Copyright(C) 2009-2018 Daniel Carvajal, Licensed under LGPL | netDXF.Standard 2.1.1 Copyright (C) Goran Grubić 2018