13 int so2e(
double x[2],
double y[2],
double b[2],
double* pdRes);
20 point(
double _x,
double _y,
double _z);
24 double X()
const {
return x;};
25 double Y()
const {
return y;};
26 double Z()
const {
return z;};
27 friend int operator == (
const point& p1,
const point& p2);
29 friend int operator != (
const point& p1,
const point& p2);
30 friend double ro(
const point& p1,
const point& p2);
35 #include <mix/AnyAr.H>
43 point2D(
double _x,
double _y){x=_x;y=_y;};
47 double X()
const {
return x;};
48 double Y()
const {
return y;};
54 #define AnyType point2D
55 #define AnyAr aPoints2D
56 #include <mix/AnyAr.H>
62 :p1(_p1.X(),_p1.Y()),p2(_p2.X(),_p2.Y()){init=0;};
64 :p1(0,0),p2(0,0){init=0;};
67 void get_coefs(
double& A,
double& B,
double& C);
70 #define AnyType segment2D
71 #define AnyAr aSegments2D
72 #include <mix/AnyAr.H>
76 :p1(_p1.X(),_p1.Y(),_p1.Z()),p2(_p2.X(),_p2.Y(),_p2.Z())
81 #define AnyType segment3D
82 #define AnyAr aSegments3D
83 #include <mix/AnyAr.H>
Definition: geometry.H:58
Definition: geometry.H:16
Definition: geometry.H:74
Definition: geometry.H:39