A3DSurfNurbsData

Fields

A3DEKnotType

m_eKnotType

A3DEBSplineSurfaceForm

m_eSurfaceForm

A3DUns32

m_uiUDegree

A3DUns32

m_uiVDegree

A3DUns32

m_uiUKnotSize

A3DUns32

m_uiVKnotSize

A3DUns32

m_uiUCtrlSize

A3DUns32

m_uiVCtrlSize

A3DDouble *

m_pdUKnots

A3DDouble *

m_pdVKnots

A3DDouble *

m_pdWeights

A3DVector3dData *

m_pCtrlPts

Detailed Description

struct A3DSurfNurbsData

Nurbs surface structure.

Version

2.0

Note

Size of m_pCtrlPts is m_uiUCtrlSize * m_uiVCtrlSize, and control points are stored in a sequential form. (Pu0v0, Pu0v1, …, Pu0vx, Pu1v0, Pu1v1, …, Pu1vx, …, Puxv0, …, Puxvx).

Public Members

A3DEKnotType m_eKnotType

Knot type.

A3DEBSplineSurfaceForm m_eSurfaceForm

Surface form.

A3DUns32 m_uiUDegree

Degree in U direction.

A3DUns32 m_uiVDegree

Degree in V direction.

A3DUns32 m_uiUKnotSize

Knots number in U direction.

A3DUns32 m_uiVKnotSize

Knots number in V direction.

A3DUns32 m_uiUCtrlSize

Control points number in U direction.

A3DUns32 m_uiVCtrlSize

Control points number in V direction.

A3DDouble *m_pdUKnots

Knots in U direction.

A3DDouble *m_pdVKnots

Knots in V direction.

A3DDouble *m_pdWeights

Weights if surface is rational.

A3DVector3dData *m_pCtrlPts

Control points.