From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/utility.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/bin/utility.h') diff --git a/app/bin/utility.h b/app/bin/utility.h index fad74be..3686ae8 100644 --- a/app/bin/utility.h +++ b/app/bin/utility.h @@ -44,6 +44,7 @@ double max( double a, double b ); double min( double a, double b ); #endif double FindDistance( coOrd p0, coOrd p1 ); +int CoOrdEqual(coOrd p0, coOrd p1); double NormalizeAngle( double a ); double DifferenceBetweenAngles(double a, double b); int AngleInRange(double a, double start, double size); @@ -63,6 +64,7 @@ double LineDistance( coOrd *p, coOrd p0, coOrd p1 ); double CircleDistance( coOrd *p, coOrd c, double r, double a0, double a1 ); int PickArcEndPt( coOrd, coOrd, coOrd ); int PickLineEndPt( coOrd, double, coOrd ); +coOrd MidPtCoOrd(coOrd, coOrd); coOrd AddCoOrd( coOrd, coOrd, double ); int ClipLine( coOrd *, coOrd *, coOrd, double, coOrd ); coOrd FindCentroid(int vertexCount, pts_t vertices[] ); -- cgit v1.2.3