editor / vertexFactors
Function: vertexFactors()
vertexFactors(
factors): readonlynumber[]
Defined in: geometry/vertex-factors.ts:13
Factor of every vertex of a cyclic contour: the smaller factor of its two edges.
Formula: gᵢ = min(fᵢ₋₁, fᵢ), edge i − 1 arriving at vertex i and edge i leaving it.
Parameters
factors
readonly number[]
factor of each edge, in drawing order
Returns
readonly number[]
one factor per vertex, in [0, 1]
Kind
geometry
See
DERIV-local-radius-clamp