pe_factory_angunit

Creates the specified angular unit object

Usage syntax

PE_UNIT pe_factory_angunit (int code);

Parameters
code The code of the predefined angular unit object
Description

Creates the predefined angular unit object with the specified code

Returns

On success, the new angular unit object; on failure, a null pointer.

Examples

PE_UNIT deg = pe_factory_angunit(PE_U_DEGREE);