Public Member Functions | |
float | Area () |
float3 | GetCenter () |
Tetrahedron (float3 a, float3 b, float3 c, float3 d) | |
float | Volume () |
Static Public Member Functions | |
static void | CalculateCircumsphere (Tetrahedron tetrahedron, out float3 center, out float radiusSq, float mergeDistance=10e-5f, float epsilon=10e-5f) |
Calculates a sphere with the property that all four points of the tetrahedron lie on that sphere. | |
Public Attributes | |
float3 | a |
float3 | b |
float3 | c |
float3 | d |
|
static |
Calculates a sphere with the property that all four points of the tetrahedron lie on that sphere.
tetrahedron | |
center | |
radiusSq | |
mergeDistance | |
epsilon |
float3 GetCenter | ( | ) |