|
ug4
|
Namespaces | |
| namespace | 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] | |
| void | ug::CalculateTriangleNormals (SimpleGrid &sg) |
| resizes sg.triangleNormals and calculates them | |
| bool | ug::CollapseEdge (SimpleGrid &sg) |
| number | ug::GeometricApproximationDegree (SimpleGrid &sg) |
| sums GeometricApproximationDegree for each triangle. | |
| number | ug::GeometricApproximationDegree (SimpleGrid &sg, int triIndex) |
| the returned degree lies between 0 and 1. The closer to 1 the better. | |
| void | ug::PrintSimpleGrid (SimpleGrid &sg) |
| number | ug::ShapeQualityDegree (SimpleGrid &sg) |
| returns the worst quality-degree of the triangles in sg. | |
| number | ug::ShapeQualityDegree (SimpleGrid &sg, int triIndex) |
| compares the area of the triangle to the length of its edges. | |
| bool | ug::SwapEdge (SimpleGrid &sg) |