API Reference > OdEd Classes > OdEdBaseUserIO Class > OdEdBaseUserIO Methods > OdEdBaseUserIO::getAngle Method
OdEdBaseUserIO::getAngle Method
Syntax
C++
virtual double getAngle(const OdString& prompt, int options = OdEd::kInpDefault, double defaultValue = 0.0, const OdString& keywords = OdString::kEmpty, OdEdRealTracker* pTracker = 0) = 0;
Parameters 
Description 
const OdString& prompt 
[in] Message displayed to prompt the user.  
int options = OdEd::kInpDefault 
[in] Combination of OdEd::GetPointOptions enum values.  
double defaultValue = 0.0 
[in] Default value to return if an empty string is received as input.  
const OdString& keywords = OdString::kEmpty 
[in] Keyword string.  
OdEdRealTracker* pTracker = 0 
[in] Pointer to a User IO tracker. 

Returns user input of an angle. 

 

This function uses the underlying OdEdBaseIO functions putString and getString for low level output and input. 

If prompt is an empty string, a default prompt string is used. 

All angles are expressed in radians.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.