API Reference > Classes > PRC Protocol Extensions Classes > ExPrcCommandContext Class > ExPrcCommandContext Methods > ExPrcCommandContext::getAngle Method
ExPrcCommandContext::getAngle Method
Syntax
C++
virtual double getAngle(const OdString& prompt, int options = OdEd::kInpDefault, double defVal = 0.0, const OdString& keywords = OdString::kEmpty, OdEdRealTracker* pTracker = 0);
Parameters 
Description 
const OdString& prompt 
[in] A prompt string with text printed before waiting for user input.  
int options = OdEd::kInpDefault 
[in] A set of input options (bitwise or combination of the OdEd::CommonInputOptions enum).  
double defVal = 0.0 
[in] A default value returned if user inputs nothing.  
const OdString& keywords = OdString::kEmpty 
[in] A string with a keywords list.  
OdEdRealTracker* pTracker = 0 
[in] A pointer to a notification interface for tracking changes in the command context object.  

Returns the entered double value of an angle.

Gets user input of an angle value from the command's input.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.