API Reference > OdGe Classes > OdGeInterval Class > OdGeInterval Methods > OdGeInterval::isPeriodicallyOn Method
OdGeInterval::isPeriodicallyOn Method
Syntax
C++
bool isPeriodicallyOn(double period, double& value);
Parameters 
Description 
double period 
[in] Period.  
double& value 
[in/out] Value. 

Returns true if and only if the specified value is periodically on this Interval.

Returns true if and only if there is a positive integer N such that 

value + N * period 

is on this Interval. If so, returns that value. 

 

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