API Reference > OdGe Classes > OdGeInterval Class
OdGeInterval Class
OdGeInterval
Syntax
C++
class OdGeInterval;

GeInterval.h

This class represents a finite, infinite, or semi-infinite interval as the real axis. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGeInterval constructor overload. 
 
Name 
Description 
 
Corrects the parameter so that it belongs to the interval. If parameter is already within interval, then it is returned as is. Otherwise parameter is moved to closest of endpoints.
 
 
This is the overview for the contains method overload. 
 
Returns a point on this interval. 
 
eval 
Returns parameter L + (R-L) * t for given ratio t. 
 
Find finite sub-interval belonging both to the specified range and this one 
 
Returns the bounds of this interval.
 
 
Returns the parameter of interval's end.
 
 
Returns the smallest interval containing both the specified interval and this interval.
 
 
Intersects the specified interval from this one. 
 
Returns true if and only if this interval is bounded above and below. 
 
Returns true if and only if this interval is bounded above. 
 
Returns true if and only if this interval is bounded below. 
 
Returns true if and only if the specified Interval is continuous with the upper bound of this Interval. 
 
Returns true if and only if the specified interval is disjoint from this interval. 
 
This is the overview for the isEqualAtLower method overload. 
 
This is the overview for the isEqualAtUpper method overload. 
 
Returns true if and only if the specified Interval and this Interval overlap at the upper bound of this Interval. 
 
Returns true if and only if the specified value is periodically on this Interval. 
 
Returns true if and only if this interval object is a singleton. 
 
Returns true if and only if this interval is unbounded above or below. 
 
Returns the length of this interval. 
 
Returns the lower bound of this interval. 
 
Returns the center point of this interval. 
 
set 
This is the overview for the set method overload. 
 
Sets the lower bound for this interval.
 
 
Sets the boundary tolerance for this interval.
 
 
Sets the upper bound for this interval.
 
 
Subtracts the specified interval from this interval. 
 
Returns the boundary tolerance for this interval. 
 
Returns the upper bound of this interval. 
 
Name 
Description 
 
!= 
Comparison operator for the OdGeInterval object. 
 
== 
Comparison operator for the OdGeInterval object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.