/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #ifndef _MGLCisect_HH_ #define _MGLCisect_HH_ /** @file */ /** @addtogroup IsectContainer * @{ */ #include "mg/Position.h" #include "topo/LEPoint.h" // //Define MGLCisect Class. class MGLEPoint; class MGPosition; ///MGLCisect is to represent Loop and curve intersection point of a parent face parameter space. ///Holds (lp, t, uv), where lp=loop point, t=curve parameter value, and ///uv=face aprameter value. class MG_DLL_DECLR MGLCisect{ public: ///String stream Function MG_DLL_DECLR friend std::ostream& operator<< (std::ostream&, const MGLCisect& ); /////////Constructor///////// MGLCisect(); MGLCisect( const MGLEPoint& lp, /// (const MGLCisect& lci2)const{return lci2<(*this);}; bool operator<= (const MGLCisect& lci2)const{return !(lci2<(*this));}; bool operator>= (const MGLCisect& lci2)const{return !((*this)