#ifndef _AS_PS_COORD #define _AS_PS_COORD class CCord { protected: long m_x, m_y, m_z ; public: long& x( ) ; long& y( ) ; long& z( ) ; const long& x( ) const ; const long& y( ) const ; const long& z( ) const ; CCord( long xx = 0, long yy = 0 , long zz = 0 ) ; // CCord( const MATRIX& m ) // { *this = m ; } CCord( CCord& c ) { *this = c ; } // CCord& operator=( const MATRIX& m ) // { x( ) = m.x( ) ; y( ) = m.y( ) ; z( ) = m.z( ) ; return *this; } CCord& operator=( CCord& c ) { x( ) = c.x( ) ; y( ) = c.y( ) ; z( ) = c.z( ) ; return *this ;} CCord& operator +=( const CCord& c ) ; CCord& operator -=( const CCord& c ) ; CCord& operator+( const CCord& c ) ; CCord& operator-( const CCord& c ) ; bool operator==( const CCord& c ) const ; bool operator <( const CCord& c ) const ; bool operator >( const CCord& c ) const ; bool operator !=( const CCord& c ) const ; }; #endif