Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/geom-api

Index

Type aliases

Attribs

Attribs: IObjectOf<any>

SegmentType

SegmentType: "m" | "l" | "p" | "a" | "c" | "q" | "z"

Tessellator

Tessellator: (points: ReadonlyVec[]) => Vec[][]

Tessellation function. Receives a point array representing a polygon / cell and yields an array of point arrays, representing the subdivided cells.

Type declaration

    • (points: ReadonlyVec[]): Vec[][]
    • Parameters

      • points: ReadonlyVec[]

      Returns Vec[][]

Variables

Let DEFAULT_SAMPLES

DEFAULT_SAMPLES: number = 20

Functions

Const setDefaultSamples

  • setDefaultSamples(n: number): number

Generated using TypeDoc