/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #ifndef _MGFPoint_HH_ #define _MGFPoint_HH_ #include "mg/Position.h" class MGFSurface; /** @file */ /** @addtogroup GEORelated * @{ */ ///MGFPoint is to represent a Face or Surface point. ///The expression is: ///(MGFace* f, MGPosition uv), where f is a face pointer of interest, ///and uv is the parameter value of the face f. class MG_DLL_DECLR MGFPoint{ public: ///String stream Function MG_DLL_DECLR friend std::ostream& operator<< (std::ostream&, const MGFPoint& ); ////////Constructor///////// MGFPoint():m_face(0){;}; ///void constructor. ///Construct from all the necessary data. MGFPoint( const MGFSurface& face, /// (const MGFPoint& fp)const{return fp<(*this);}; bool operator<= (const MGFPoint& fp)const{return !(fp<(*this));}; bool operator>= (const MGFPoint& fp)const{return !((*this)