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

Returns the squared distance from this point to the specified point. 

 

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