Synopsis

PDX_MSGT iges_GetEntityClass(long option, MDA_PTR db_ptr, int *ent_class)

Purpose

Get the Class of IGES entity.

Description

Determines the Class of IGES entity (ie. curve, surface, annotation, etc.).

Input

option

Options (not used)

db_ptr

The IGES entity database pointer to approximate.

Output

ent_class

IGES_CURVE

IGES entity is a curve

IGES_SURFACE

IGES entity is a surface

IGES_ANNOTATE

IGES entity is annotation

IGES_SUBFIG

IGES entity is a subfigure

IGES_OTHER

IGES entity is other than above(connect point for example)

IGES_UNKNOWN

IGES entity has not been classified

Return

IGES_NOERR