Skip to content

Documentation / @ripl/3d / ParametricSurface

Type Alias: ParametricSurface ​

ParametricSurface = (u, v) => Vector3

Defined in: 3d/src/elements/parametric.ts:40

Evaluates a surface at a point in its parameter domain.

Parameters ​

ParameterTypeDescription
unumberThe first parameter, from 0 to 1.
vnumberThe second parameter, from 0 to 1.

Returns ​

Vector3

The world-space point at (u, v).