Navigation · interface

Contour

Explained in Navigation.

interface Contour
import type { Contour } from '@driftengine/nav';

Properties

NameTypeDescription
regionreadonlynumber
pointsreadonlyInt32Arrayx,z pairs in cell units. A closed loop: the last point joins the first.
rawreadonlyInt32ArrayThe boundary before simplification, same layout. What the deviation is measured against.