API Reference > OdGe Classes > OdGeExtents3d Class > OdGeExtents3d Methods > distanceTo Method > OdGeExtents3d::distanceTo Method (OdGePoint3d&)
OdGeExtents3d::distanceTo Method (OdGePoint3d&)
Syntax
C++
double distanceTo(const OdGePoint3d& iPoint) const;
Parameters 
Description 
const OdGePoint3d& iPoint 
[in] Point to find distance to. 

0.0 if point is inside the box or euclidean distance otherwise.

Calculates distance to the specified point. 

 

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