Synopsis

PDX_MSGT licr_BS3Surf(long option, int acis_model, int bs3_deg_u, int bs3_deg_v, PDX_BOOL bs3_rat, int bs3_num_ctrl_pnts_u, int bs3_num_ctrl_pnts_v, double **bs3_ctrl_pnts, double *bs3_weights, int bs3_num_knots_u, int bs3_num_knots_v, double *bs3_knots_u, double* bs3_knots_v, MDA_PTR *bs3surface_ptr)

Purpose

Create an MDA ACIS_BS3_SURF.

Description

This module will take the input parameters and create a ACIS_BS3_SURF in the acis_model.

Input

option

Options (not used)

acis_model

MDA ACIS model.

bs3_deg_u

The U degree of the ACIS_BS3_SURF.

bs3_deg_v

The V degree of the ACIS_BS3_SURF.

bs3_rat

A flag indicating if the BS3_SURF is rational: 0 = PDX_FALSE, 1 = PDX_TRUE.

bs3_num_ctrl_pnts_u

The number of U controls points in the ACIS_BS3_SURF.

bs3_num_ctrl_pnts_v

The number of V controls points in the ACIS_BS3_SURF.

bs3_ctrl_pnts

A array of double[3], specifying the control points for the ACIS_BS3_SURF. This array will contain the the control points for U then V. Refer to the spatial definition of the BS3 Surface.

bs3_weights

A array of doubles, specifying the weights for the ACIS_BS3_SURF. This array will contain the wieghts for of the control points for U then V. Refer to the spatial definition of the BS3 Surface.

bs3_num_knots_u

The number of U knots in the ACIS_BS3_SURF.

bs3_num_knots_v

The number of V knots in the ACIS_BS3_SURF.

bs3_knots_u

A array of doubles specifying the U knots for the ACIS_BS3_SURF.

bs3_knots_v

A array of doubles specifying the V knots for the ACIS_BS3_SURF.

Output

bs3surface_ptr

Pointer to a MDA_PTR to store the ACIS_BS3_SURF.

Return

      LICR_NOERR
      Low level error return
      .fi