Skip to content

Path

Module Geometry.Paths

In ixfx, a Type Paths.Path is an object typically derived from some other shape. It describes a directed path.

The basic functions are:

Create with:

// Sub module
import { Paths } from "@ixfx/geometry.js"
// Eg: Paths.nearest();
// Whole module
import * as Geometry from "@ixfx/geometry.js"
// Eg: Geometry.Paths.nearest();
// From bundle
import { Geometry } from "@ixfx"
// Eg: Geometry.Paths.nearest();
// And within your HTML's <HEAD> </HEAD> block:
<script type="importmap">{ "imports": { "@ixfx":"/ixfx/index.js", "@ixfx/": "/ixfx/" } }</script>