Public Member Functions | Friends

NURBSNBlendSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSSurface.

Description:
This class is available in release 2.5 and later only.

This class provides access to the Multisided Blend surface. A Multisided Blend surface is a surface that "fills in" the edges defined by three or four other curve or surfaces. Unliked a regular, two-sided Blend surface, the curves or surfaces edges must form a closed loop--that is, they must completely surround the opening the Multisided Blend will cover.

Note: For the blend to work, the curves that define the blend must form a loop (that is, sequence head to tail, and the ends must match).
protected:

#include <surf_api.h>

Inheritance diagram for NURBSNBlendSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSNBlendSurface (void)
virtual DllExport  ~NURBSNBlendSurface (void)
DllExport NURBSNBlendSurface operator= (const NURBSNBlendSurface &surf)
DllExport void  SetParent (int pnum, int index)
DllExport void  SetParentId (int pnum, NURBSId id)
DllExport int  GetParent (int pnum)
DllExport NURBSId  GetParentId (int pnum)
DllExport void  SetEdge (int pnum, int edge)
DllExport int  GetEdge (int pnum)

Friends

class  NURBSSet

Constructor & Destructor Documentation

DllExport NURBSNBlendSurface ( void  )
Remarks:
Constructor. The data members are initialized as follows:

    mType = kNNBlendSurface;
    mpObject = NULL;
    mpNSet = NULL;
    for (int i = 0; i < 4; i++)
    {
        mParentId[i] = 0;
        mParentIndex[i] = -1;
        mParentEdge[i] = 0;
    }
virtual DllExport ~NURBSNBlendSurface ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport NURBSNBlendSurface& operator= ( const NURBSNBlendSurface surf )
Remarks:
Assignment operator.
Parameters:
const NURBSNBlendSurface& surf

The surface to assign.
DllExport void SetParent ( int  pnum,
int  index 
)
Remarks:
Sets the specified parent curve or surface (by NURBSSet index) as the speciifed edge for the surface.
Parameters:
int pnum

The index of the parent curve or surface to set.

int index

The index in the NURBSSet of the curve or surface.
DllExport void SetParentId ( int  pnum,
NURBSId  id 
)
Remarks:
Sets the specified parent curve or surface (by NURBSId) as the speciifed edge for the surface.
Parameters:
int pnum

The index of the parent curve or surface to set.

NURBSId id

The id of the curve or surface to set.
DllExport int GetParent ( int  pnum )
Remarks:
Returns the index in the NURBSSet of the specified curve or surface.
Parameters:
int pnum

The index of the parent curve or surface to get.
DllExport NURBSId GetParentId ( int  pnum )
Remarks:
Returns the NURBSId of the specified curve or surface.
Parameters:
int pnum

The index of the parent curve or surface to get.
DllExport void SetEdge ( int  pnum,
int  edge 
)
Remarks:
If using a surface for the blend surface edge, this method indicates which edge on the surface to use.
Parameters:
int pnum

The index of the parent surface.

int edge

The edge to use for the blend. One of the following values:

0: The low U edge.

1: The high U edge.

2: The low V edge.

3: The high V edge.
DllExport int GetEdge ( int  pnum )
Remarks:
Returns the edge used by the specified surface to create the blend.
Parameters:
int pnum

The index of the parent surface.
Returns:
The edge used for the blend. One of the following values:

0: The low U edge.

1: The high U edge.

2: The low V edge.

3: The high V edge.

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface
NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface NURBSNBlendSurface