DriftCapture · interface
DecimateOptions
Explained in DriftCapture.
interface DecimateOptionsimport type { DecimateOptions } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
borderWeightreadonlyoptional | number | How much a border edge resists being collapsed.MoreThe standard construction: each boundary edge contributes a plane through itself perpendicular to its own face, weighted by this, so moving along the border is cheap and moving off it is not. A hundred is enough that a border survives a decimation to a tenth and small enough that a long straight border still simplifies. |