Chemical Data Processing Library C++ API - Version 1.2.0
Public Types | Public Member Functions | List of all members
CDPL::Vis::PointArray2D Class Reference

Stores a set of points in 2D space. More...

#include <PointArray2D.hpp>

+ Inheritance diagram for CDPL::Vis::PointArray2D:

Public Types

typedef std::shared_ptr< PointArray2DSharedPointer
 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
 

Detailed Description

Stores a set of points in 2D space.

Member Typedef Documentation

◆ SharedPointer

A reference-counted smart pointer [SHPTR] for dynamically allocated PointArray2D instances.

Member Function Documentation

◆ translate()

void CDPL::Vis::PointArray2D::translate ( const Math::Vector2D vec)

Translates all points by vec.

Parameters
vecThe translation vector.

◆ getBounds()

void CDPL::Vis::PointArray2D::getBounds ( Rectangle2D bounds) const

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