Skip to content

editor / boxAspect

Function: boxAspect() ​

boxAspect(points): number

Defined in: geometry/box-aspect.ts:14

Aspect of a set of points: the height of their bounding box over its width (DERIV-stretched-polygon step 4).

Parameters ​

points ​

readonly Point[]

points spanning the x axis

Returns ​

number

height over width

Kind ​

geometry

See ​

DERIV-stretched-polygon