Synopsis

PDX_MSGT step_SetPlaneAngleUnit(long angle_unit)

Purpose

Specifies current STEP plane angle units (degrees or radians)

Description

Specifies current STEP plane angle units (degrees or radians). All conversions involving angular values must take the current setting into consideration. This function must be called prior to any conversions (i.e., sgdx* or smap* functions) between GDX and STEP geometry entities. The STEP plane angle units are defaulted to degrees by step_Initialize.

Input

angle_unit

STEP_DEGREES

Current plane angle unit is degrees

STEP_RADIANS

Current plane angle unit is radians

STEP_RADIANS_LITERAL

Parameterization is degrees other values radians

Return

      STEP_NOERR
      STEP_ILLEGAL_PLANE_ANGLE_UNIT
      .fi