Synopsis

PDX_MSGT igeo_Get142Sense(long option, MDA_PTR db_ptr, PDX_BOOL outer_trim, int *sense)

Purpose

Get the sense of an IGES 142 entity

Description

Given a closed IGES 142 entity and wether or not the IGES 142 is an outer or innter trimming boundary determine the sense of the boundary. The IGES 142 entity may be an invalid entity that references either the model space curve or the parameter space curve and may reference the plane entity with the model space curve as the trim curve and the sense will be determined.

Input

option

Option (Not used)

db_ptr

The closed IGES 142 entity database pointer

outer_trim

PDX_TRUE

The IGES 142 is an outer boundary

PDX_FALSE

The IGES 142 is not an outer boundary

Output

sense

The sense of the trim boundary 1 - The sense of the trim boundary does not need to be reversed 2 - The sense of the boundary needs to be reversed

Return

      IGEO_NOERR
      Low level error return
      .fi