Synopsis

PDX_MSGT s041_GetRprCnt(long option, MDA_PTR rprcnt_ptr, int *len_unit, int *plane_ang_unit, int *solid_ang_unit, int *coord_space_dim, double *len_uncertainty)

Purpose

Return the units, the coordinate space dimension values and the coincident point tolerance (pnt_tol).

Description

Given a MDA_PTR to an external representation_context entity, return the units and the coordinate space dimension values and the coincident point tolerance. Note: Solid_ang_unit is there to satisfy the AP203 spec. This value will probably never be used.

Input

option

Option (not used).

rprcnt_ptr

MDA_PTR to representation_context entity.

Output

len_unit

Length measure unit. Not set in STEP file, if value is less than 0

plane_ang_unit

Plane angle unit. Not set in STEP file, if value is less than 0

solid_ang_unit

Not used. Not set in STEP file, if value is less than 0

coord_space_dim

Attribute from geometric_representation_context entity (value of 2 or 3). Not set in STEP file, if value is less than 0

len_uncertainty

Coincident point tol (pnt_tol). Not set in STEP file, if value is less than 0.0

Return

      S041_NOERR
      S041_INTERNAL_ERR
      S041_INVALID_ENT
      S041_BAD_DIM
      .fi