Gather mesh statistics.
More...
|
| void | Update (TriangleNetMesh triangleNetMesh, int sampleDegrees) |
| | Update statistics about the quality of the mesh.
|
| |
|
|
static long | InCircleCount = 0 |
| | Number of incircle tests performed.
|
| |
|
static long | InCircleAdaptCount = 0 |
| |
|
static long | CounterClockwiseCount = 0 |
| | Number of counterclockwise tests performed.
|
| |
|
static long | CounterClockwiseAdaptCount = 0 |
| |
|
static long | Orient3dCount = 0 |
| | Number of 3D orientation tests performed.
|
| |
|
static long | HyperbolaCount = 0 |
| | Number of right-of-hyperbola tests performed.
|
| |
|
static long | CircumcenterCount = 0 |
| | // Number of circumcenter calculations performed.
|
| |
|
static long | CircleTopCount = 0 |
| | Number of circle top calculations performed.
|
| |
|
static long | RelocationCount = 0 |
| | Number of vertex relocations.
|
| |
|
|
float | ShortestEdge [get] |
| | Gets the shortest edge.
|
| |
|
float | LongestEdge [get] |
| | Gets the longest edge.
|
| |
|
float | ShortestAltitude [get] |
| | Gets the shortest altitude.
|
| |
|
float | LargestAspectRatio [get] |
| | Gets the largest aspect ratio.
|
| |
|
float | SmallestArea [get] |
| | Gets the smallest area.
|
| |
|
float | LargestArea [get] |
| | Gets the largest area.
|
| |
|
float | SmallestAngle [get] |
| | Gets the smallest angle.
|
| |
|
float | LargestAngle [get] |
| | Gets the largest angle.
|
| |
|
int[] | AngleHistogram [get] |
| | Gets the angle histogram.
|
| |
|
int[] | MinAngleHistogram [get] |
| | Gets the min angles histogram.
|
| |
|
int[] | MaxAngleHistogram [get] |
| | Gets the max angles histogram.
|
| |
◆ ComputeAngles()
| static void TriangleNet.Tools.Statistic.ComputeAngles |
( |
ITriangle |
triangle, |
|
|
float[] |
data |
|
) |
| |
|
inlinestatic |
Compute angle information for given triangle.
- Parameters
-
| triangle | The triangle to check. |
| data | Array of floats (length 6). |
On return, the squared cosines of the minimum and maximum angle will be stored at position data[0] and data[1] respectively. If the triangle was obtuse, data[2] will be set to -1 and maximum angle is computed as (pi - acos(sqrt(data[1]))).
◆ Update()
| void TriangleNet.Tools.Statistic.Update |
( |
TriangleNetMesh |
triangleNetMesh, |
|
|
int |
sampleDegrees |
|
) |
| |
|
inline |
Update statistics about the quality of the mesh.
- Parameters
-
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/TriangleNet/Scripts/Source/Tools/Statistic.cs