Go to:
Related nodes. Attributes.
The 'avgSurfacePoints' node is used to compute a weighted
average in both position and normal of a given set of NURBS
surface points.
The i-th point to be used in the averaging process is given
by specifying the NURBS surface at the attribute 'is[i]',
the parameter space location on the surface 'is[i]' at
attributes ('u[i]', 'v[i]') and any associated weight with
the point at 'w[i]'.
The attribute 'top' can be used to indicate that the specified
(u,v) coordinates of the points are normalized. This may be
used if the parameter space domain of the NURBS surfaces are
not known in advance.
The computed postion and normal can be obtained using the
output attributes 'r.p' and 'r.n' respectively.
Node name | Parents | MFn type | Compatible function sets |
---|
avgSurfacePoints | abstractBaseCreate | kAvgSurfacePoints | kBase kNamedObject kDependencyNode kCreate kAvgSurfacePoints |
Related nodes
ffBlendSrfObsolete, roundConstantRadius, extendSurface, offsetCos, alignSurface, bevel, insertKnotSurface
Attributes (14)
inputSurfaces, normal, normalX, normalY, normalZ, parameterU, parameterV, position, positionX, positionY, positionZ, result, turnOnPercentage, weight
Long name (short name) | Type | Default | Flags |
---|
|
inputSurfaces
(is )
| nurbsSurface | NULL | |
|
|
weight
(wt )
| double | 0.5 | |
|
|
parameterU
(u )
| double | 0.0 | |
|
|
parameterV
(v )
| double | 0.0 | |
|
|
turnOnPercentage
(top )
| bool | false | |
|
|
result
(r )
| compound | n/a | |
|
| position
(p )
| double3 | 0.0, 0.0, 0.0 | | |
| positionX
(px )
| distance (double) | 0.0cm | | |
| | positionY
(py )
| distance (double) | 0.0cm | | |
| | positionZ
(pz )
| distance (double) | 0.0cm | | |
|
|
| normal
(n )
| double3 | 0.0, 0.0, 1.0 | | |
| normalX
(nx )
| distance (double) | 0.0cm | | |
| | normalY
(ny )
| distance (double) | 0.0cm | | |
| | normalZ
(nz )
| distance (double) | 1.0cm | | |
|
|