diff options
author | neoraider <devnull@localhost> | 2007-09-15 19:54:02 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-09-15 19:54:02 +0200 |
commit | 8dc800c37233bf64cbfe3b6a1eced0c9b7c46558 (patch) | |
tree | e0cffaf6bbd54ac4062f4d1d48fb3eb5275145ad /geometry.h | |
parent | 4d035c645584451925ee533e7bd9e1158b5cf7da (diff) | |
download | zoomedit-8dc800c37233bf64cbfe3b6a1eced0c9b7c46558.tar zoomedit-8dc800c37233bf64cbfe3b6a1eced0c9b7c46558.zip |
zoomedit: Man kann R?ume hinzuf?gen, yeah!
Diffstat (limited to 'geometry.h')
-rw-r--r-- | geometry.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -39,13 +39,14 @@ typedef struct _VERTEX_LIST { } VERTEX_LIST, POLYGON; -void addVertex(VERTEX_LIST *list, VERTEX *v); -void insertVertex(VERTEX_LIST *list, VERTEX *v, unsigned int n); +void addVertex(VERTEX_LIST *list, const VERTEX *v); +void insertVertex(VERTEX_LIST *list, const 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 vertexOnLine(const VERTEX *v, const LINE *l); int vertexInRect(const VERTEX *v, const RECTANGLE *rect); gboolean vertexInPolygon(const VERTEX *v, const POLYGON *p); |