class Geometry · Computations

SimplifyEnvelopeOptions

Options for Simplify.envelope.

All fields are optional.

Properties

sideoptional

side?: "upper" | "lower"

The side of the line that is kept: "upper" (default) keeps the points farthest up on screen, i.e. with the smallest y, such as the peaks of an elevation profile drawn in pixels; "lower" the points farthest down. For data in coordinates where y grows upwards (e.g. heights in metres before scaling), the peaks are "lower".