Geda3.Coord
Description:
Functions for operating on coordinates
Content:
Functions:
- public double distance (int x0, int y0, int x1, int y1)
Calculate the distance between two points
- public int parse (string input) throws ParseError
Parse the string representation of a coordinate
- public void rotate (int cx, int cy, int angle, ref int x, ref int y)
Rotate a point
- public int snap (int coord, int grid)
Snap a coordinate to the nearest grid
- public void snap_ortho (int x0, int y0, ref int x1, ref int y1)
Snap a line to an orthographic angle