Synopsis

PDX_MSGT igeo_ApproxSetPreference(PDX_BOOL use_pref)

Purpose

Set the IGES preference flag use option

Description

Sets the option for using the preference flag settings when trimmed and bounded curves/surfaces are approximated. By default, the settings of the preference flags are ownered when IGES 141, 142, 143 and 144 entities are approximated. This may result in a significant decrease in performance. In the cases where parameter space curves are present but the preference flag is set to use the model space curves, the use_pref can be set to PDX_FALSE which will force the parameter space curves are used for approximation which will increase performance.

Input

use_pref

The use preference flag setting option. PDX_TRUE = use the settings of the entity preference flag approximation PDX_FALSE = ignore the settings of the entity preference flag for approximation and always use the parameter space curve if present

Return

      IGEO_NOERR
      IGEO_NOAPPROXDATA
      .fi