Synopsis

PDX_MSGT licr_EllipseDef(long option, int model, double centre[3], double normal[3], double major_axis[3], double radius_ratio, double start_point[3], double end_point[3], MDA_PTR *ellipse_ptr)

Purpose

Create an ACIS_ELLIPSE_DEF

Description

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

The X, Y, Z point for the ACIS_ELLIPSE_DEF

normal

The X,Y,Z components of normal for the ACIS_ELLIPSE_DEF

major_axis

The X,Y,Z components of major axis for the ACIS_ELLIPSE_DEF

radius_ratio

The ratio of the major to minor axis for the ACIS_ELLIPSE_DEF.

start_point

The X, Y, Z start point for the ACIS_ELLIPSE_DEF.

end_point

The X, Y, Z end point for the ACIS_ELLIPSE_DEF.

Output

ellipse_ptr

Pointer to a MDA_PTR to store the new ACIS_ELLIPSE_DEF.

Return

      LICR_NOERR
      Low level error return
      .fi