API Reference > OdGe Classes > OdGeExtents3d Class > OdGeExtents3d Methods > OdGeExtents3d::isWithinRange Method
OdGeExtents3d::isWithinRange Method
Syntax
C++
bool isWithinRange(const OdGePoint3d & pt, double radius);
Parameters 
Description 
const OdGePoint3d & pt 
[in] A 3D point that represents the sphere center.  
double radius 
[in] A radius of the sphere. 

true if and only if the box intersects the sphere with specified center and radius.

Checks whether the box intersects the sphere with specified center and radius. 

 

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