Synopsis

PDX_MSGT licr_BS2Curve(long option, int acis_model, int bs2_deg, PDX_BOOL bs2_rat, int bs2_num_ctrl_pnts, double (*bs2_ctrl_pnts)[3], double *bs2_weights, int bs2_num_knots, double *bs2_knots, MDA_PTR *bs2curve_ptr)

Purpose

Create an MDA ACIS_BS2_CURVE.

Description

This module will taken the input parameters and create a ACIS_BS2_CURVE in the acis_model.

Input

option

Options (not used)

acis_model

MDA ACIS model.

bs2_deg

The degree of the ACIS_BS2_CURVE.

bs2_rat

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

bs2_num_ctrl_pnts

The number of controls points in the ACIS_BS2_CURVE.

bs2_ctrl_pnts

A array of double[3], specifying the control points for the ACIS_BS2_CURVE.

bs2_weights

A array of doubles, specifying the weights for the ACIS_BS2_CURVE.

bs2_num_knots

The number of knot in the ACIS_BS2_CURVE.

bs2_knots

A array of doubles specifying the knots for the ACIS_BS2_CURVE.

Output

bs2curve_ptr

Pointer to a MDA_PTR to store the ACIS_BS2_CURVE.

Return

      LICR_NOERR
      Low level error return
      .fi