API Reference > OdGe Classes > OdGeInterval Class > OdGeInterval Methods > OdGeInterval::finiteIntersectWith Method
OdGeInterval::finiteIntersectWith Method
Syntax
C++
bool finiteIntersectWith(const OdGeInterval& range, OdGeInterval& result) const;
Parameters 
Description 
const OdGeInterval& range 
[in] The interval to be intersected.  
OdGeInterval& result 
[out] Receives the intersected interval. 

Returns true if and only if the specified interval intersects with this one, and the resulting interval is bounded. 

 

Find finite sub-interval belonging both to the specified range and this one

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