5 #ifndef _MGFOuterCurve_HH_
6 #define _MGFOuterCurve_HH_
21 class MG_DLL_DECLR MGFOuterCurve{
26 MG_DLL_DECLR
friend std::ostream&
operator<< (std::ostream&,
const MGFOuterCurve& );
36 ):m_peri_id(peri_id){m_t[0]=t1;m_t[1]=t2;};
41 ):m_peri_id(-1), m_loop(loop){;};
48 bool is_perimeter_curve()
const{
return m_peri_id>=0;};
51 bool is_loop()
const{
return m_peri_id<0;};
54 const MGLoop* loop()
const{
return m_loop;};
57 int perimeter_id()
const{
return m_peri_id;};
60 void range(
double& t0,
double& t1)
const{ t0=m_t[0]; t1=m_t[1];};
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
MGLoop is a boundary of a face, a boundary of 2D manifold cell.
Definition: Loop.h:44