Go to the source code of this file.
|
| namespace | ug |
| | the ug namespace
|
| |
|
| template<class TAAPosVRT , class TAAWeightVRT > |
| UG_API TAAPosVRT::ValueType | ug::CalculateCenter (const VolumeVertices *vol, TAAPosVRT &aaPos, TAAWeightVRT &aaWeight) |
| | returns the weighted center of the vertices of the given volume
|
| |
| template<class TVertexPositionAttachmentAccessor > |
| TVertexPositionAttachmentAccessor::ValueType | ug::CalculateCenter (const VolumeVertices *vol, TVertexPositionAttachmentAccessor &aaPosVRT) |
| | calculates the center of a volume by averaging the positions of its corners
|
| |
| template<class TAAPos > |
| bool | ug::ContainsPoint (Volume *vol, const vector3 &p, TAAPos aaPos) |
| | Checks whether a given point lies in the given volume element.
|
| |
| template<class TVolIter > |
| void | ug::ConvertToTetrahedra (Grid &grid, TVolIter volsBegin, TVolIter volsEnd) |
| | Converts all volumes in the given range to tetrahedra.
|
| |
| UG_API bool | ug::PointIsInsideTetrahedron (const vector3 &v, Tetrahedron *tet, Grid::VertexAttachmentAccessor< APosition > &aaPos) |
| | returns true if the point lies inside the tetrahedron
|
| |