API Reference > OdGe Classes > OdGeEntity2d Class > OdGeEntity2d Methods > OdGeEntity2d::isOn Method
OdGeEntity2d::isOn Method
Syntax
C++
bool isOn(const OdGePoint2d& point, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] Point to be queried.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true if and only if the specified point is on this entity, as determined by the tolerance. 

 

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