Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Voronoi

import { Voronoi } from "https://cdn.skypack.dev/d3@7.8.1";
class Voronoi {
constructor(delaunay, [xminyminxmaxymax]?);
_cell(i);
_clip(i);
_clipFinite(i, points);
_clipInfinite(
i,
points,
vx0,
vy0,
vxn,
vyn,
);
_clipSegment(
x0,
y0,
x1,
y1,
c0,
c1,
);
_edge(
i,
e0,
e1,
P,
j,
);
_edgecode(x, y);
_init();
_project(
x0,
y0,
vx,
vy,
);
_regioncode(x, y);
_renderSegment(
x0,
y0,
x1,
y1,
context,
);
cellPolygon(i);
*cellPolygons();
contains(
i,
x,
y,
);
*neighbors(i);
render(context);
renderBounds(context);
renderCell(i, context);
update();
}

§Constructors

§
new Voronoi(delaunay, [xminyminxmaxymax]?)
[src]

§Methods

§
_cell(i)
[src]
§
_clip(i)
[src]
§
_clipFinite(i, points)
[src]
§
_clipInfinite(i, points, vx0, vy0, vxn, vyn)
[src]
§
_clipSegment(x0, y0, x1, y1, c0, c1)
[src]
§
_edge(i, e0, e1, P, j)
[src]
§
_edgecode(x, y)
[src]
§
_init()
[src]
§
_project(x0, y0, vx, vy)
[src]
§
_regioncode(x, y)
[src]
§
_renderSegment(x0, y0, x1, y1, context)
[src]
§
cellPolygon(i)
[src]
§
cellPolygons()
[src]
§
contains(i, x, y)
[src]
§
neighbors(i)
[src]
§
render(context)
[src]
§
renderBounds(context)
[src]
§
renderCell(i, context)
[src]
§
update()
[src]