Group that encapsulates NURBS surfaces to be joined More...
#include <Inventor/nodes/SoNurbsGroup.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoNurbsGroup () | |
virtual | ~SoNurbsGroup () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
This node allows you to join multiple NURBS surfaces without cracks between them. Surfaces which need to be joined must have profiles (SoNurbsProfile) that share the same boundary (SoNurbsBoundary).
In order to work, profiles must have an equivalent parameterization. Evaluating two profiles with a shared boundary at the same t will give two (u,v) pairs: (u1,v1) and (u2,v2). Then, evaluating (u1,v1) on the first NURBS surface will give a point P1 and (u2,v2) will give a point P2 on the second surface. If P1 and P2 are equal (within a tolerance) then the two profiles have an equivalent parameterization.
The picture below is a scene graph with joined surfaces:
In this scene, the following surfaces will be joined:
SoNurbsSurface, SoNurbsProfile, SoNurbsBoundary
SoNurbsGroup::SoNurbsGroup | ( | ) |
Creates an empty NurbsGroup node.
virtual SoNurbsGroup::~SoNurbsGroup | ( | ) | [virtual] |
Destructor.
static SoType SoNurbsGroup::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoGroup.
virtual SoType SoNurbsGroup::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoGroup.