Synopsis

PDX_MSGT licr_Body(long option, int model, MDA_PTR lump_ptr, MDA_PTR wire_ptr, MDA_PTR transform_ptr, PDX_BOOL two_d_flag, MDA_PTR *body_ptr)

Purpose

Create an ACIS_BODY

Description

This module will create a ACIS_BODY in the ACIS model. This module will set the ACIS_BODYs lump and wire to the input parameters lump_ptr and wire_ptr. The transform for the ACIS_BODY will be set to the input parameter transform_ptr. The two_d_flag paramter denotes the ACIS_BODY as being 2D. The flag in the ACIS_BODY will be set based off this flag.

Input

option

Options (not used)

model

MDA ACIS Model to put the ACIS_BODY into.

lump_ptr

MDA Pointer to an ACIS_LUMP

wire_ptr

MDA Pointer to an ACIS_WIRE

transform_ptr

MDA Poitner to an ACIS_TRANS

two_d_flag

Boolean Flag denoting the ACIS_BODY is a 2D body type.

Output

body_ptr

Pointer to a MDA_PTR to store the new ACIS_BODY.

Return

      LICR_NOERR
      Low level error return
      .fi