All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ICARUSgeometryChecker.AccumulateExtrema Class Reference

Public Member Functions

def __init__
 
def reset
 
def add
 
def min
 
def max
 
def minmax
 

Public Attributes

 min_
 
 max_
 
 n
 

Detailed Description

Definition at line 602 of file ICARUSgeometryChecker.py.

Constructor & Destructor Documentation

def ICARUSgeometryChecker.AccumulateExtrema.__init__ (   self)

Member Function Documentation

def ICARUSgeometryChecker.AccumulateExtrema.add (   self,
  value 
)

Definition at line 609 of file ICARUSgeometryChecker.py.

610  def add(self, value):
611  if self.min_ > value or self.min_ is None: self.min_ = value
if self.max_ < value: self.max_ = value # None < any number
def ICARUSgeometryChecker.AccumulateExtrema.max (   self)

Definition at line 614 of file ICARUSgeometryChecker.py.

def max(self): return self.max_
def ICARUSgeometryChecker.AccumulateExtrema.min (   self)

Definition at line 613 of file ICARUSgeometryChecker.py.

def min(self): return self.min_
def ICARUSgeometryChecker.AccumulateExtrema.minmax (   self)

Definition at line 615 of file ICARUSgeometryChecker.py.

616  def minmax(self): return self.min(), self.max()
617 # class AccumulateExtrema
618 
619 
# ------------------------------------------------------------------------------
def ICARUSgeometryChecker.AccumulateExtrema.reset (   self)

Definition at line 604 of file ICARUSgeometryChecker.py.

605  def reset(self):
606  self.min_ = None
607  self.max_ = None
self.n = 0

Member Data Documentation

ICARUSgeometryChecker.AccumulateExtrema.max_

Definition at line 606 of file ICARUSgeometryChecker.py.

ICARUSgeometryChecker.AccumulateExtrema.min_

Definition at line 605 of file ICARUSgeometryChecker.py.

ICARUSgeometryChecker.AccumulateExtrema.n

Definition at line 607 of file ICARUSgeometryChecker.py.


The documentation for this class was generated from the following file: