nurbsSurface.pointAt
The point on the surface at knot parameters (u, v).
Usage
surface.pointAt(u: number, v: number): Point3Parameters
unumberKnot parameter along u, in domainU.
vnumberKnot parameter along v, in domainV.
Returns
The rational point S(u, v). A parameter outside the domain is clamped to it, so pointAt(u, v) past an end returns the end point; NaN gives NaN coordinates.
Example
const s = NurbsSurface.create([[Point3.of(0, 0, 0), Point3.of(0, 2, 0)], [Point3.of(3, 0, 0), Point3.of(3, 2, 0)]], 1, 1).value
s.pointAt(1, 0) // → { x: 3, y: 0, z: 0 }