diff options
author | neoraider <devnull@localhost> | 2007-08-29 21:54:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-08-29 21:54:05 +0200 |
commit | 4d035c645584451925ee533e7bd9e1158b5cf7da (patch) | |
tree | 14492f3f2501771dca28a4b0cba9376a1bfead85 /geometry.h | |
parent | 22da7179ace053f399d43bce061d81aac98f3c4c (diff) | |
download | zoomedit-4d035c645584451925ee533e7bd9e1158b5cf7da.tar zoomedit-4d035c645584451925ee533e7bd9e1158b5cf7da.zip |
zoomedit: Einige Rauminformationen werden jetzt angezeigt & Name kann ge?ndert werden.
Diffstat (limited to 'geometry.h')
-rw-r--r-- | geometry.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -43,9 +43,15 @@ void addVertex(VERTEX_LIST *list, VERTEX *v); void insertVertex(VERTEX_LIST *list, VERTEX *v, unsigned int n); void deleteVertex(VERTEX_LIST *list, unsigned int n); +double vertexDistanceSquare(const VERTEX *v1, const VERTEX *v2); +double vertexDistance(const VERTEX *v1, const VERTEX *v2); int vertexInRect(const VERTEX *v, const RECTANGLE *rect); gboolean vertexInPolygon(const VERTEX *v, const POLYGON *p); + +double polygonPerimeter(const POLYGON *p); +double polygonArea(const POLYGON *p); + int lineIntersection(const LINE *la, const LINE *lb, VERTEX *v); int lineRectIntersection(const LINE *l, const RECTANGLE *rect, int edge, VERTEX *v); int lineRectIntersections(const LINE *line, const RECTANGLE *rect, int edge, VERTEX *v1, VERTEX *v2); |