public LineSegment(Point s, Point e) { this.PtS = s; this.PtE = e; this.Distance = GeometryFunc.EuclideanDistanceInMeter(this.PtS, this.PtE); this.DirAngle = GeometryFunc.ComputeAngle(this.PtS, this.PtE, true); }