diff --git a/Geo/GPoint.h b/Geo/GPoint.h new file mode 100644 index 0000000000000000000000000000000000000000..31deb8b6df5040939b6b1986c76552981869462d --- /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