Chemical Data Processing Library C++ API - Version 1.2.0
|
Stores a set of points in 2D space. More...
#include <PointArray2D.hpp>
Public Types | |
typedef std::shared_ptr< PointArray2D > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated PointArray2D instances. More... | |
Public Member Functions | |
void | translate (const Math::Vector2D &vec) |
Translates all points by vec. More... | |
void | getBounds (Rectangle2D &bounds) const |
Stores a set of points in 2D space.
typedef std::shared_ptr<PointArray2D> CDPL::Vis::PointArray2D::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated PointArray2D
instances.
void CDPL::Vis::PointArray2D::translate | ( | const Math::Vector2D & | vec | ) |
Translates all points by vec.
vec | The translation vector. |
void CDPL::Vis::PointArray2D::getBounds | ( | Rectangle2D & | bounds | ) | const |