The Conley-Morse Graphs Software
Public Member Functions | Public Attributes | List of all members
CoordMinMax Class Reference

A class whose objects store, update and show coordinate ranges. More...

#include <utils.h>

Public Member Functions

 CoordMinMax ()
 The default constructor. More...
 
 CoordMinMax (const spcCoord *leftMin, const spcCoord *rightMax)
 The constructor from precomputed values. More...
 
bool defined () const
 Returns true if at least one cube was taken for the ranges. More...
 
void operator() (const spcCubes &theSet)
 Updates the coordinate ranges for the given set of cubes. More...
 

Public Attributes

spcCoord coordLeftMin [spaceDim]
 The minimal coordinates. More...
 
spcCoord coordRightMax [spaceDim]
 The strict upper bound for the maximal coordinates. More...
 

Detailed Description

A class whose objects store, update and show coordinate ranges.

Definition at line 443 of file utils.h.

Constructor & Destructor Documentation

◆ CoordMinMax() [1/2]

CoordMinMax::CoordMinMax ( )
inline

The default constructor.

Definition at line 469 of file utils.h.

References coordLeftMin, coordRightMax, custom::difference::finalDepth, and custom::difference::spaceDim.

◆ CoordMinMax() [2/2]

CoordMinMax::CoordMinMax ( const spcCoord leftMin,
const spcCoord rightMax 
)
inline

The constructor from precomputed values.

Definition at line 479 of file utils.h.

References coordLeftMin, coordRightMax, and custom::difference::spaceDim.

Member Function Documentation

◆ defined()

bool CoordMinMax::defined ( ) const
inline

Returns true if at least one cube was taken for the ranges.

Definition at line 490 of file utils.h.

References coordLeftMin, and coordRightMax.

◆ operator()()

void CoordMinMax::operator() ( const spcCubes theSet)
inline

Updates the coordinate ranges for the given set of cubes.

Definition at line 495 of file utils.h.

References coordLeftMin, coordRightMax, and custom::difference::spaceDim.

Member Data Documentation

◆ coordLeftMin

spcCoord CoordMinMax::coordLeftMin[spaceDim]

The minimal coordinates.

Definition at line 462 of file utils.h.

Referenced by CoordMinMax(), defined(), and operator()().

◆ coordRightMax

spcCoord CoordMinMax::coordRightMax[spaceDim]

The strict upper bound for the maximal coordinates.

Definition at line 465 of file utils.h.

Referenced by CoordMinMax(), defined(), and operator()().


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