Synopsis

PDX_MSGT licr_StraightDef(long option, int model, double root_point[3], double direction[3], double start_point[3], double end_point[3], MDA_PTR *straight_ptr)

Purpose

Create an ACIS_STRAIGHT_DEF

Description

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

ACIS MDA model

root_point

X, Y, Z coordinate defining the root point of the ACIS_STRAIGHT_DEF

direction

X, Y, Z coordinate defining the vector for the ACIS_STRAIGHT_DEF

start_point

X, Y, Z coordinate defining the start point for the ACIS_STRIAGHT_DEF

end_point

X, Y, Z coordinate defining the end point for the ACIS_STRIAGHT_DEF

Output

straight_ptr

Pointer to a MDA_PTR to store the new ACIS_STRAIGHT_DEF

Return

      LICR_NOERR
      Low level error return
      .fi