This class defines an independent surface that uses points to describe its shape.
Constructors
NURBSPointSurface [<property>:<val>]...
Any of the object's properties may be set via optional keyword arguments on the constructor.
Properties
<nurbspointsurface>.numPoints : point2
The number of points in the point surface in the U and V directions. If this value is changed, the previous point data is not maintained.
<nurbspointsurface>.transform : matrix3
The transformation matrix for the NURBSPointSurface. This controls the relative position of the item within a NURBSSet.
<nurbspointsurface>.closedU : boolean
true if the surface is closed in the U direction, false if open.
<nurbspointsurface>.closedV : boolean
true if the surface is closed in the V direction, false if open.
Methods
Close the curve in U.
Close the curve in V.
getPoint <nurbspointsurface> <u_index> <v_index>
Get the indexed surface point as a NURBSIndependentPoint; point indexes are 1-based.
setPoint <nurbspointsurface> <u_index> <v_index> <NURBSIndependentPoint>
Get the indexed surface point to the given NURBSIndependentPoint; point indexes are 1-based.
refineU <nurbspointsurface> <v_param>
Add new row of interpolated points in the U direction on the surface at the given parametric V point.
refineV <nurbspointsurface> <u_param>
Add new column of interpolated points in the V direction on the surface at the given parametric U point.
refine <nurbspointsurface> <u_param> <v_param>
Add a new row and column of interpolated points on the surface at the given parametric UV position.
See also