RepastHPC  2.3.1
Public Member Functions | List of all members
repast::StrictBorders Class Reference

Implements strict grid border semantics: anything outside the dimensions is out of bounds. More...

#include <GridComponents.h>

Inheritance diagram for repast::StrictBorders:
repast::Borders

Public Member Functions

 StrictBorders (GridDimensions d)
 
void translate (const std::vector< double > &oldPos, std::vector< double > &newPos, const std::vector< double > &displacement) const
 
void translate (const std::vector< int > &oldPos, std::vector< int > &newPos, const std::vector< int > &displacement) const
 
- Public Member Functions inherited from repast::Borders
 Borders (GridDimensions d)
 
void transform (const std::vector< int > &in, std::vector< int > &out) const
 
void transform (const std::vector< double > &in, std::vector< double > &out) const
 
bool isPeriodic () const
 

Additional Inherited Members

- Protected Member Functions inherited from repast::Borders
void boundsCheck (const std::vector< int > &pt) const
 
void boundsCheck (const std::vector< double > &pt) const
 
- Protected Attributes inherited from repast::Borders
const GridDimensions _dimensions
 

Detailed Description

Implements strict grid border semantics: anything outside the dimensions is out of bounds.


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