Lines Matching refs:Pt3
92 class Pt3 {
94 Pt3 () { pt[0] = 0; pt[1] = 0; pt[2] = 0; pt[3] = 1.0; } // we default to (0 : 0 : 0 : 1)
95 Pt3 (double x, double y, double z, double w) { pt[0] = x; pt[1] = y; pt[2] = z; pt[3] = w; }
96 Pt3 (const char *coord_str);
98 inline bool operator== (Pt3 &rhs) {
109 inline Pt3 &operator+(Pt3 &rhs) const {
110 Pt3 *result = new Pt3 (*this);
119 inline Pt3 &operator-(Pt3 &rhs) const {
120 Pt3 *result = new Pt3 (*this);
129 inline Pt3 &operator*(double const s) const {
130 Pt3 *result = new Pt3 (*this);