5 #ifndef _MGLSPoint_vector_HH_
6 #define _MGLSPoint_vector_HH_
13 #include "topo/LSPoint.h"
45 int entries()
const{
return int(m_lspoints.size());};
46 int size()
const{
return int(m_lspoints.size());};
54 {m_lspoints.insert(i, llisect);};
57 bool empty()
const{
return m_lspoints.empty();};
63 std::vector<MGLSPoint> m_lspoints;
std::vector< MGLSPoint >::const_iterator const_LSiterator
Definition: LSPoint_vector.h:23
MGLSPoint & operator[](size_t i)
Member Function.
Definition: LSPoint_vector.h:35
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
int entries() const
Return the number of items that are in the list.
Definition: LSPoint_vector.h:45
const MGLSPoint & back() const
Definition: LSPoint_vector.h:61
MGLSPoint_vector()
Definition: LSPoint_vector.h:31
MGLSPoint is to express a loop and a surface intersection point.
Definition: LSPoint.h:25
std::vector< MGLSPoint >::iterator LSiterator
Definition: LSPoint_vector.h:22
const MGLSPoint & operator[](size_t i) const
Definition: LSPoint_vector.h:36
MGLSPoint_vector defines a vector of MGLSPoint.
Definition: LSPoint_vector.h:18
void insertAt(LSiterator i, const MGLSPoint &llisect)
Insert MGLSPoint at the position i.
Definition: LSPoint_vector.h:53
const MGLSPoint & front() const
Definition: LSPoint_vector.h:50
int size() const
Definition: LSPoint_vector.h:46
bool empty() const
Return true if there are no items in the list, false otherwise.
Definition: LSPoint_vector.h:57