API Reference > OdGe Classes > OdGePoint2d Class > OdGePoint2d Methods > OdGePoint2d::distanceTo Method
OdGePoint2d::distanceTo Method
Syntax
C++
double distanceTo(const OdGePoint2d& point) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] Any 2D point to which a distance is measured. 

Returns the distance from this point to the specified point. 

 

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