public Vector2D Round() { return (new Vector2D( GeoUtils.Round(_x), GeoUtils.Round(_y))); }
public Point2D Round() { return (new Point2D( GeoUtils.Round(_x), GeoUtils.Round(_y))); }
public void ToX(XElement xe) { xe.Add(new XAttribute("Position", Position.ToString())); AddAttribute(xe, "Bulge", GeoUtils.Round(Bulge)); AddAttribute(xe, "StartWidth", GeoUtils.Round(StartWidth)); AddAttribute(xe, "EndWidth", GeoUtils.Round(EndWidth)); }
public void ToX(XElement xe) { xe.Add(new XAttribute("X", GeoUtils.Round(X))); xe.Add(new XAttribute("Y", GeoUtils.Round(Y))); }
public override string ToString() { return(string.Format("{0},{1}", GeoUtils.Round(X), GeoUtils.Round(Y)));; }