Synopsis
PDX_MSGT licr_TorusDef(long option, int model, double centre[3], double normal[3], double major_radius, double minor_radius, MDA_PTR *torus_ptr)
Purpose
Create an ACIS_TORUS_DEF
Description
This module will create a ACIS_TORUS_DEF in the ACIS model. This module will set the ACIS_TORUS_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 defining the center of the ACIS_TORUS_DEF
normal
X,Y,Z components defining the normal of the ACIS_TORUS_DEF
major_radius
Major radius of ACIS_TORUS_DEF
minor_radius
Minor radius of ACIS_TORUS_DEF
Output
torus_ptr
Pointer to a MDA_PTR to store the new ACIS_TORUS_DEF.
Return
LICR_NOERR
Low level error return
.fi