25 MG_DLL_DECLR
friend std::ostream&
operator<< (std::ostream&,
const MGKnot& );
41 bool operator< (
const MGKnot& kt2)
const{
return m_value<kt2.m_value;};
42 bool operator> (
const MGKnot& kt2)
const{
return kt2<(*this);};
43 bool operator<= (
const MGKnot& kt2)
const{
return !(kt2<(*this));};
44 bool operator>= (
const MGKnot& kt2)
const{
return !((*this)<kt2);};
45 bool operator== (
const MGKnot& kt2)
const;
46 bool operator!= (
const MGKnot& kt2)
const{
return !operator==(kt2);};
50 double value()
const {
return m_value;}
55 int dump_size()
const;
MGKnot()
Definition: Knot.h:28
MGIfstream is a class to read the serialized data generated by MGOfstream.
Definition: Ifstream.h:30
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
int multiplicity() const
Definition: Knot.h:51
double value() const
Definition: Knot.h:50
MGOfstream is a class to serialize all of the subclasses of MGGel.
Definition: Ofstream.h:31
Defines knot value and its multiplicity.
Definition: Knot.h:20