|
template<class TElem > |
void | ug::AssignIndices (typename geometry_traits< TElem >::iterator iterBegin, typename geometry_traits< TElem >::iterator iterEnd, Grid::AttachmentAccessor< TElem, AInt > &aaInt) |
|
template<class vector_t , class TIterator , class TAAPos > |
void | ug::CalculateBoundingBox (vector_t &vMinOut, vector_t &vMaxOut, TIterator begin, TIterator end, TAAPos &aaPos) |
| Calculates the bounding box of a set of geometric objects. More...
|
|
template<class TIterator , class TAAPosVRT > |
TAAPosVRT::ValueType | ug::CalculateCenter (TIterator begin, TIterator end, TAAPosVRT &aaPos) |
| calculates the center for a set of elements More...
|
|
template<class TAAPosVRT > |
UG_API TAAPosVRT::ValueType | ug::CalculateGridObjectCenter (const GridObject *o, TAAPosVRT &aaPosVRT) |
| calculates the center for arbitrary geometric object More...
|
|
template<class TAAPosVRT , class TAAWeightVRT > |
UG_API TAAPosVRT::ValueType | ug::CalculateGridObjectCenter (const GridObject *o, TAAPosVRT &aaPosVRT, TAAWeightVRT &aaWeight) |
| returns the weighted center of the vertices of the given geometric object More...
|
|
template<class TElem1 , class TElem2 , class TAAPos > |
bool | ug::CheckDirection (TElem1 *e1, TElem2 *e2, const TAAPos &aaPos, const typename TAAPos::ValueType &dir, number minAngle, number maxAngle) |
| Checks whether the center of e2 can be reached from the center of e1 in the given direction. More...
|
|
template<class TElem , class TAAPos > |
number | ug::ElementDiameter (Grid &grid, TAAPos &aaPos, TElem *elem) |
| returns the maximal distance between to element vertices More...
|
|
template<class TAAPos > |
number | ug::ElementDiameterSq (Grid &grid, TAAPos &aaPos, GridObject *elem) |
| returns the maximal squared distance between to element vertices More...
|
|
template<class TElem , class TAAPos > |
number | ug::ElementDiameterSq (Grid &grid, TAAPos &aaPos, TElem *elem) |
| returns the maximal squared distance between to element vertices More...
|
|
template<class TElem > |
void | ug::EraseElements (Grid &grid, typename geometry_traits< TElem >::iterator iterBegin, typename geometry_traits< TElem >::iterator iterEnd) |
| erases all elements between iterBegin and iterEnd. More...
|
|
template<class TElem , class TVertexPositionAttachmentAccessor > |
TElem * | ug::FindClosestByCoordinate (const typename TVertexPositionAttachmentAccessor::ValueType &coord, typename geometry_traits< TElem >::iterator iterBegin, typename geometry_traits< TElem >::iterator iterEnd, TVertexPositionAttachmentAccessor &aaPosVRT) |
| returns the element of the given type, whose center is closest to coord. More...
|
|
template<class TElem1 , class TElem2 , class TAAPos > |
TAAPos::ValueType | ug::GetDirection (TElem1 *e1, TElem2 *e2, const TAAPos &aaPos) |
| Returns the direction from the center of e1 to the center of e2. More...
|
|
template<class TElem > |
UG_API TElem::side * | ug::GetSharedSide (Grid &grid, TElem *e1, TElem *e2) |
| returns the shared side between the two elements or NULL if no such side exists. More...
|
|
template<class TAAPos , class TIterator > |
number | ug::MaxElementDiameter (Grid &grid, TAAPos &aaPos, TIterator iterBegin, TIterator iterEnd) |
| returns the maximal diameter of all elements between iterBegin and iterEnd. More...
|
|
template<class TAAPos , class TIterator > |
number | ug::MinElementDiameter (Grid &grid, TAAPos &aaPos, TIterator iterBegin, TIterator iterEnd) |
| returns the minimal diameter of all elements between iterBegin and iterEnd. More...
|
|
template<class TElemPtr1 , class TElemPtr2 > |
size_t | ug::NumSharedVertices (Grid &grid, TElemPtr1 elem1, TElemPtr2 elem2) |
| returns the number of vertices that are shared by two objects More...
|
|