Skip to content
Shapemetry

Io - CurveJson

API reference — the CurveJson doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.

import { curveGeometryToNurbs, curveSamplePoints } from '@huukhanhnguyen/io'

Source: ./curveJson. See all formats or the Guide.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

curveGeometryToNurbs

function

curveGeometryToNurbs(geometry: unknown): NurbsCurve

curveSamplePoints

function

curveSamplePoints(geometry: unknown, tolerance: number): Point[]

curveToSvgPathData

function

curveToSvgPathData(geometry: unknown): string
Last updated: 📖 1 min readEdit on GitHub