Synopsis

PDX_MSGT picr_ApproxCurve(long option, int model, MDA_PTR orig_db_ptr, int tag, int identifier, MDA_COUNT n_pnts, double *tpnts, double (*xyzpnts)[3], MDA_PTR param_ptr, MDA_PTR *db_ptr)

Input

option

PICR_VALIDATE

Validate the entity fields

PICR_NOVALIDATE

Do not validate the entity fields

model

PINT model for entity creation

orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

tag

Parasolid tag for this entity

Output

db_ptr

The PINT model pointer

Return

      Low level error return
      .fi