Altitudes of a simplex #
This file defines the altitudes of a simplex and their feet.
Main definitions #
altitudeis the line that passes through a vertex of a simplex and is orthogonal to the opposite face.altitudeFootis the orthogonal projection of a vertex of a simplex onto the opposite face.heightis the distance between a vertex of a simplex and itsaltitudeFoot.
References #
An altitude of a simplex is the line that passes through a vertex and is orthogonal to the opposite face.
Equations
Instances For
The definition of an altitude.
A vertex lies in the corresponding altitude.
The direction of an altitude.
The vector span of the opposite face lies in the direction orthogonal to an altitude.
An altitude is finite-dimensional.
An altitude is one-dimensional (i.e., a line).
A line through a vertex is the altitude through that vertex if and only if it is orthogonal to the opposite face.
The foot of an altitude is the orthogonal projection of a vertex of a simplex onto the opposite face.
Equations
- s.altitudeFoot i = ↑((s.faceOpposite i).orthogonalProjectionSpan (s.points i))
Instances For
Through a point on the altitude of a simplex, draw the perpendicular plane and restrict it to the affine span of the simplex. This is the same as shifting the base towards the vertex.
Through a point on the altitude of a simplex, draw the perpendicular plane and find the cross section with the closed interior. This is the same as the cross section between the shifted base and the closed interior.
The height of a vertex of a simplex is the distance between it and the foot of the altitude from that vertex.
Equations
- s.height i = dist (s.points i) (s.altitudeFoot i)
Instances For
Extension for the positivity tactic: the height of a simplex is always positive.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The height of a 1-dimensional simplex equals to the distance between the two vertices.
Altitudes are perpendicular to the faces containing their foot.
The inner product of an edge from j to i and the vector from the foot of i to i
is the square of the height.
The inner product of two distinct altitudes has absolute value strictly less than the product of their lengths.
Equivalently, neither vector is a multiple of the other; the angle between them is not 0 or π.
The inner product of two altitudes has value strictly greater than the negated product of their lengths.