Synopsis

PDX_MSGT dxcr_3DFace2(long option, MDA_PTR orig_db_ptr, MTH_3DPNT pts[4], int dxf_model, long edge_visibility_mask, MDA_PTR *dxf_db_ptr)

Purpose

Creates a DXF 3D Face.

Description

A DXF 3D face entity is created in the specified model based on data provided. The data provided must result in a valid definition. It is assumed that the number of points in the array "pts" is 4.

The orig_db_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

Input

option

Options (not used)

orig_db_ptr

The database pointer of the original entity

pts

Array of points (assumed to be 4 points)

dxf_model

The model for creating the DXF entity

edge_visibility_mask

Edge visibility mask

Output

dxf_db_ptr

The database pointer of the created DXF entity

Return

      DXCR_NOERR
      Low level error return
      .fi