Synopsis

PDX_MSGT licr_ConeDef(long option, int model, double root_point[3], double direction[3], double major_axis[3], double radius_ratio, double sine_angle, double cosine_angle, MDA_PTR *cone_ptr)

Purpose

Create an ACIS_CONE_DEF

Description

This module will create a ACIS_CONE_DEF in the ACIS model. This module will set the ACIS_CONE_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.

root_point

X, Y, Z coordinated in which the ACIS_CONE_DEF is defined.

direction

Vector defining length and direction of the ACIS_CONE_DEF.

major_axis

Vertor defining length and direction of major axis in the ACIS_CONE_DEF.

radius_ratio

Ratio of radius to height of ACIS_CONE_DEF.

sine_angle

The SIN Angle for the ACIS_CONE_DEF.

cosine_angle

The COS Angle for the ACIS_CONE_DEF.

Output

cone_ptr

Pointer to a MDA_PTR to store the new ACIS_CONE_DEF.

Return

      LICR_NOERR
      Low level error return
      .fi