API Reference > OdGe Classes > OdGeInterval Class > OdGeInterval Methods > contains Method > OdGeInterval::contains Method (OdGeInterval&)
OdGeInterval::contains Method (OdGeInterval&)
Syntax
C++
bool contains(const OdGeInterval& otherInterval) const;
Parameters 
Description 
const OdGeInterval& otherInterval 
[in] The Interval to be tested.  
value 
[in] The value to be tested. 

Returns true if and only if this interval contains the specified value or Interval.

Returns true if and only if this Interval contains value or otherInterval within tolerance(). 

 

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