Skip to content

Tetrahedron Class Documentation

Overview

Tetrahedron

References

Class Documentation

Bases: Polyhedron

Tetrahedron Class

Regular unit cube.

calc_angle_dihedral() staticmethod

Face-edge-face angle, i.e., "dihedral angle" (approx. 70.5288°)

calc_angle_face_vertex_edge(a) staticmethod

Face-vertex-edge angle (approx. 54.7356°)

calc_angle_solid_vertex() staticmethod

Solid angle at a vertex subtended by a face (approx. 0.55129 steradians) (approx. 1809.8 square degrees)

calc_angle_subtended() staticmethod

Vertex-Center-Vertex angle calc_face_angle_face_edge_face The angle between lines from the tetrahedron center to any two vertices. It is also the angle between Plateau borders at a vertex. In chemistry it is called the tetrahedral bond angle. This angle (in radians) is also the length of the circular arc on the unit sphere resulting from centrally projecting one edge of the tetrahedron to the sphere.

(approx. 109.4712°)

calc_area(a) staticmethod

Calculate Area Static Method

Formula to calculate the area of a Tetrahedron.

Parameters:

Name Type Description Default
edge_length float | int

The radius of the Tetrahedron.

required

Returns:

Name Type Description
area float

The area of the Tetrahedron.

calc_distance_centroid_vertex(a) staticmethod

Centroid to vertex distance

calc_distance_edge_edge(a) staticmethod

Edge to opposite edge distance

calc_distance_exsphere_vertex(a) staticmethod

Distance to exsphere center from the opposite vertex

calc_pyramid_height(a) staticmethod

Height of pyramid

calc_radius_circumsphere(a) staticmethod

Radius of circumsphere

0.61237

calc_radius_exsphere(a) staticmethod

Radius of exspheres

calc_radius_insphere(a) staticmethod

Radius of insphere that is tangent to faces

0.20412

calc_radius_midsphere(a) staticmethod

Radius of midsphere that is tangent to edges

0.35355

calc_volume(a) staticmethod

Calculate Volume Static Method

Formula to calculate the volume of a Tetrahedron

Parameters:

Name Type Description Default
a float | int

The edge length of the Tetrahedron.

required

Returns:

Name Type Description
area float

The area of the Tetrahedron.

vertices() staticmethod

Vertices Static Method

Vertex coordinates:

( 1, 1, 1) ( 1, -1, -1) (-1, 1, -1) (-1, -1, 1) or:

(-1, -1, -1) (-1, 1, 1) ( 1, -1, 1) ( 1, 1, -1)