Synopsis

PDX_MSGT licr_SphereDef(long option, int model, double centre[3], double radius, MDA_PTR *sphere_ptr)

Purpose

Create an ACIS_SPHERE_DEF

Description

This module will create a ACIS_SPHERE_DEF in the ACIS model. This module will set the ACIS_SPHERE_DEF fields to the input parameters provided. Refer to the ACIS Programmers Manual for the definition of the parameters for the entity.

Input

option

Options (not used)

model

MDA ACIS model

centre

X,Y,Z components of center for the ACIS_SPHERE_DEF

radius

The radius of the ACIS_SPHERE_DEF

Output

sphere_ptr

Pointer to a MDA_PTR to store the new ACIS_SPHERE_DEF.

Return

      LICR_NOERR
      Low level error return
      .fi