/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #include "MGCLStdAfx.h" #include "topo/LLisect.h" #if defined(_DEBUG) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // //Implements MGLLisect Class. //MGLLisect is to represent two loops intersection point of //a parent face parameter space. //Holds two MGLEPoint data of intersection points. ///////Constructor//////// MGLLisect::MGLLisect(){;} MGLLisect::MGLLisect( const MGPosition& uv, //Intersection point data. const MGLEPoint& lp1, //First loop's LPoint data. const MGLEPoint& lp2) //Second loop's LPoint data. :m_uv(uv),m_is1(lp1),m_is2(lp2){;} ///////Operator oveload/////// bool MGLLisect::operator< (const MGLLisect& li2)const{ if(m_is1.edge_num()li2.m_is1.edge_num()) return false; return m_is1.param()