Share

acdbRawAngToF

C++

ACCORE_PORT int acdbRawAngToF(
    const ACHAR * str, 
    int unit, 
    double * v
);

File

acedads.h

Description

Identical to acdbAngToF(), except that the input angle is not reduced to the range (-360,360).

Parameters

Parameters Description
str String representation of the angle being conv
unit Units in which the string is formatted; if -1, uses the current value of AUNITS
v Result of the conversion, in radians

Returns

On success returns RTNORM, otherwise returns an error code.

Previous Declaration

AutoCAD 2025

int acdbRawAngToF(const ACHAR *str, int unit, double *v);

AutoCAD 2024 and Earlier

int acdbRawAngToF(const ACHAR *str, int unit, ads_real *v);

History

AutoCAD 2025

v argument changed from ads_real to double.

Was this information helpful?