From 420c253b68c9cc20f8f16757dfa98e15b4db02cc Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Mon, 10 Jul 2006 08:41:17 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GPoint.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Geo/GPoint.h diff --git a/Geo/GPoint.h b/Geo/GPoint.h new file mode 100644 index 0000000000..31deb8b6df --- /dev/null +++ b/Geo/GPoint.h @@ -0,0 +1,24 @@ +#ifndef _GPOINT_H_ +#define _GPOINT_H_ +class GEntity; + +struct GPoint +{ + double X,Y,Z; + const GEntity *e; + double par[2]; + GPoint (double _x, double _y, double _z, const GEntity *onwhat) + : X(_x), Y(_y), Z(_z), e(onwhat){ + } + GPoint (double _x, double _y, double _z, const GEntity *onwhat, double p) + : X(_x), Y(_y), Z(_z), e(onwhat){ + par[0] = p; + } + GPoint (double _x, double _y, double _z, const GEntity *onwhat, double p[2]) + : X(_x), Y(_y), Z(_z), e(onwhat) + { + par[0] = p[0]; + par[1] = p[1]; + } +}; +#endif -- GitLab