NRR.Partition.PerimeterVector — perimeter vector of a convex partition #
For a convex partition P : ConvexPartition K n this module records the elementary
perimeter data of P:
ConvexPartition.perimeterVec— theFin n → ℝvector of piece perimeters;ConvexPartition.totalPerimeter— the sum of the piece perimeters;ConvexPartition.averagePerimeter— the total perimeter divided by(n : ℝ).
The underlying perimeter is the public planar Cauchy perimeter
NRR.Geometry.ConvexBody.perimeter from NRR.AreaPerimeter. The pieces of a
ConvexPartition have type Body = Geometry.ConvexBody Plane, so this perimeter applies
directly to each piece.
No equal-area assumption, test map, or continuity statement is introduced here: this module is purely the definitional perimeter API.
The perimeter vector of a convex partition: the i-th entry is the perimeter of the
i-th piece.
Equations
- P.perimeterVec i = NRR.Geometry.ConvexBody.perimeter (P.piece i)
Instances For
The total perimeter of a convex partition: the sum of the piece perimeters.
Equations
- P.totalPerimeter = ∑ i : Fin n, P.perimeterVec i
Instances For
The average perimeter of a convex partition: the total perimeter divided by (n : ℝ).
The division is explicitly by the real cast (n : ℝ).
Equations
- P.averagePerimeter = P.totalPerimeter / ↑n
Instances For
The perimeter-deviation vector of a convex partition: the i-th entry is the
deviation of the i-th piece perimeter from the average perimeter.
Equations
- P.perimeterDeviation i = P.perimeterVec i - P.averagePerimeter
Instances For
All pieces have equal perimeter.
Equations
- P.HasEqualPerimeter = ∀ (i j : Fin n), NRR.Geometry.ConvexBody.perimeter (P.piece i) = NRR.Geometry.ConvexBody.perimeter (P.piece j)
Instances For
The perimeter-deviation vector sums to zero.
The perimeter-deviation vector, packaged as an element of the zero-sum target type.
Equations
- P.perimeterDeviationZeroSum hn = ⟨P.perimeterDeviation, ⋯⟩
Instances For
The perimeter deviation vanishes pointwise iff all pieces have equal perimeter.
The perimeter deviation is the zero function iff all pieces have equal perimeter.