# Synopsis

PDX_MSGT picr_ApproxSurface(long option, int model, MDA_PTR orig_db_ptr, int tag, int identifier, MDA_COUNT n_upnts, MDA_COUNT n_vpnts, double *upnts, double *vpnts, double ***xyzpnts, MDA_PTR param_ptr[2], 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