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

Returns user input of a point. 

 

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.

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