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

Returns true if and only this specified interval intersects with this one, and the interval of intersection. 

 

Intersects the specified interval from this one.

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