Skip to content
Shapemetry

Model - Surface value

API reference for src/nodeMethods/surfaceValue on @huukhanhnguyen/model, reachable from ./compute.

See the Guide for the ModelJSON / evaluate pipeline.

API reference

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

curvature

function

Mean curvature of the surface at (u, v). The kernel answers [gaussian, mean, k1, k2]; this namespace publishes the mean.

curvature(surface: NurbsSurface, u: number, v: number): number

isocurve

function

Isocurve at parameter (0..1) in the given direction ("u" | "v") → a curve.

isocurve(surface: NurbsSurface, parameter: number, direction: "u" | "v"): CurveEntity

normalAt

function

Unit normal of the surface at (u, v).

normalAt(surface: NurbsSurface, u: number, v: number): Vector
Last updated: 📖 1 min readEdit on GitHub