Synopsis

PDX_MSGT pgdx_GDXFaceToPINTSheetBody(long option, MDA_PTR gdx_face_ptr, int pint_model, MDA_PTR *pint_body_ptr)

Purpose

Create a PINT SheetBody from the GDX face entity

Description

Create a PINT sheet body from the GDX face entity, to support indipendent faces in GDX.

Program removes seam crossing edges in a loop, since Parasolid complains about Unshared edges. Converts GDX Face to PINT Face and create PINT Shell, Region and Sheet Body on top of it.

Input

option

PGDX_CAL_LOCAL_PRECISION

Calculates local Edge and Vertex Precisions. These can also be set by Parasolid using the mend function. This is enabled by options to the ppiw_Write function.

gdx_face_ptr

MDA pointer to GDX face entity.

pint_model

PINT model number.

Output

pint_body_ptr

MDA pointer to PINT_BODY entity.

Return

      PDX_NOERR
      PGDX_GDX_UNCLOSED_LOOP
      .fi