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

0.0 if extents intersect or euclidean distance otherwise.

Calculates distance to the specified extents. 

 

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