ug4
|
Namespaces | |
ug | |
the ug namespace | |
Functions | |
void | ug::CalculateTriangleNormal (SimpleGrid &sg, int triIndex) |
caculates the normal of the given triangle and stores it in sg.triangleNormals[triIndex] More... | |
void | ug::CalculateTriangleNormals (SimpleGrid &sg) |
resizes sg.triangleNormals and calculates them More... | |
bool | ug::CollapseEdge (SimpleGrid &sg) |
number | ug::GeometricApproximationDegree (SimpleGrid &sg) |
sums GeometricApproximationDegree for each triangle. More... | |
number | ug::GeometricApproximationDegree (SimpleGrid &sg, int triIndex) |
the returned degree lies between 0 and 1. The closer to 1 the better. More... | |
void | ug::PrintSimpleGrid (SimpleGrid &sg) |
number | ug::ShapeQualityDegree (SimpleGrid &sg) |
returns the worst quality-degree of the triangles in sg. More... | |
number | ug::ShapeQualityDegree (SimpleGrid &sg, int triIndex) |
compares the area of the triangle to the length of its edges. More... | |
bool | ug::SwapEdge (SimpleGrid &sg) |