12 #include "mg/Pvector.h"
110 iterator
begin(){
return m_is_vector.begin();}
111 const_iterator
begin()
const{
return m_is_vector.begin();}
117 bool empty()
const{
return m_is_vector.empty();};
120 iterator
end(){
return m_is_vector.end();}
121 const_iterator
end()
const{
return m_is_vector.end();}
125 iterator
erase(iterator i){
return m_is_vector.erase(i);}
138 m_is_vector.insert(i, isect);
145 const MGObject* object1(
int i)
const;
151 const MGObject* object2(
int i)
const;
165 int size()
const{
return int(m_is_vector.size());};
MGPvector< MGisect >::reference reference
Definition: isects.h:52
iterator begin()
Get the iterator of the first element of the m_is_vector.
Definition: isects.h:110
bool empty() const
Return true if there are no items in the vector, false(0) otherwise.
Definition: isects.h:117
MGFFisect represents one intersection line of a MGFace and MGFace or MGSurface.
Definition: FFisect.h:31
MGCFisect_vector defines a vector of MGCFisect.
Definition: CFisect_vector.h:25
int size() const
Return the number of items that are in the vector.
Definition: isects.h:165
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
MGPvector< MGisect >::iterator iterator
Definition: isects.h:48
const_iterator begin() const
Definition: isects.h:111
void insertAt(iterator i, MGisect *isect)
Definition: isects.h:137
Is an abstract class which represents a whole geometry and a topology.
Definition: Object.h:42
const_iterator end() const
Definition: isects.h:121
iterator end()
Get the iterator of the next of the last element of the m_is_vector.
Definition: isects.h:120
Is an abstract class to provide unified interfaces to handle an intersection of two objects...
Definition: isect.h:26
const MGisect * back() const
Definition: isects.h:106
MGPvector< MGisect >::reverse_iterator reverse_iterator
Definition: isects.h:50
void pop_back()
Erase the last element of m_is_vector if not null.
Definition: isects.h:154
void push_back(MGisect *isect)
Definition: isects.h:158
MGSSisect_list defines linked list of MGSSisect.
Definition: SSisect_list.h:26
MGCSisect_list defines linked list of MGCSisect.
Definition: CSisect_list.h:22
MGPvector< MGisect >::const_reference const_reference
Definition: isects.h:53
const MGisect * front() const
Definition: isects.h:132
MGPvector< MGisect >::const_reverse_iterator const_reverse_iterator
Definition: isects.h:51
Defines a list of MGCCisect(curve to curve intersection).
Definition: CCisect_list.h:20
MGPvector< MGisect >::size_type size_type
Definition: isects.h:54
MGisect * back()
Definition: isects.h:107
MGHHisect_vector defines a vector of MGHHisect.
Definition: HHisect_vector.h:28
MGPvector< MGisect >::const_iterator const_iterator
Definition: isects.h:49
const MGisect * operator[](int i) const
Definition: isects.h:96
MGisect * front()
Definition: isects.h:133
MGisect * operator[](int i)
Definition: isects.h:97
MGisects defines a vector of MGisect.
Definition: isects.h:44
MGHHisect is to represent one continuous intersection line of shells.
Definition: HHisect.h:43
Defines Vector of newed object pointers.
Definition: Pvector.h:27
void clear()
Clear all the elements in m_is_vector.
Definition: isects.h:114
iterator erase(iterator i)
Definition: isects.h:125