API Reference > OdGe Classes > OdGePoint3d Class > OdGePoint3d Methods > OdGePoint3d::distanceSqrdTo Method
OdGePoint3d::distanceSqrdTo Method
Syntax
C++
double distanceSqrdTo(const OdGePoint3d& point) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Any 3D 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.