Synopsis

PDX_MSGT iprj_Project404(long option, IEVM_VAL_RESULTS *ievm_val_results, MDA_PTR db_404, int dst_model, double origin[2], void *results)

Purpose

Main routine for the IGES projection subsystem (iprj). This subsystem is used to flatten a IGES file and perform model view drawing layout.

Description

Main routine for the IGES projection subsystem (iprj). This subsystem is used to flatten a IGES file and perform model view drawing layout. If ievm_val_results contain the results information pointer from entity validation, only severity 1 and 2 entities will be projected. If ievm_val_results is NULL, all entities will be projected.

Input

option

Options (see iprj_intro)

ievm_val_results

Validation results or NULL

db_404

Database pointer of the drawing to flatten

dst_model

Destination model

origin

XY location to insert Drawing

Output

results

Not used

Tolerances

      MODEL_LINEAR_APPROX_TOL
      MODEL_SPACE_PNT_COIN_TOL
      PNT_PROJ_TOL
      ZERO_TOL
      .fi

Return

      IPRJ_NOERR
      IPRJ_INVALID_DRAW_PTR
      IPRJ_DRAWING_NOT_SUPPORTED
      .fi