Class SoNurbsGroup

  • All Implemented Interfaces:
    SafeDisposable

    public class SoNurbsGroup
    extends SoGroup
    Group that encapsulates NURBS surfaces to be joined. 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:

    • NS0 and NS1 with boundary NB0
    • NS1 and NS2 with boundary NB1
    • NS0 and NS2 with boundary NB2

    File format/default:

    NurbsGroup {

    }

    Action behavior:

    SoGLRenderAction, SoCallbackAction, SoRayPickAction
    Traverses each child in order.

    See Also:
    SoNurbsSurface, SoNurbsProfile, SoNurbsBoundary
    • Constructor Detail

      • SoNurbsGroup

        public SoNurbsGroup()
        Creates an empty NurbsGroup node.