Linear.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef Linear_H
6 #define Linear_H
7 
8 #include "Polynomial.h"
9 
10 namespace CGFunctions
11 {
12 
17 template<class Coordinates>
18 class Linear : public Polynomial<Coordinates>
19 {
20 public:
21 
27  {
29  }
30 };
31 
40 
41 } //namespace CGFunctions
42 #endif
A specialisation of Polynomials for PolynomialType::Linear. See Polynomial for details.
Definition: Linear.h:19
Linear()
Default constructor, simply sets the PolynomialType.
Definition: Linear.h:26
Defines the position of the CGPoint (e.g. x, y, z) and the parameters of a polynomial coarse-graining...
Definition: Polynomial.h:61
void setPolynomialType(PolynomialType polynomialType)
Template argument; use a member class of CGCoordinates to instantiate.
Contains base classes of CGPoint; CGPoint is always templated with one of these classes; these classe...
Definition: ExactOverlap.h:28
CGFunctions::Linear< CGCoordinates::XZ > LinearXZ
Definition: Linear.h:37
CGFunctions::Linear< CGCoordinates::YZ > LinearYZ
Definition: Linear.h:36
CGFunctions::Linear< CGCoordinates::X > LinearX
Definition: Linear.h:33
CGFunctions::Linear< CGCoordinates::XYZ > LinearXYZ
Definition: Linear.h:39
CGFunctions::Linear< CGCoordinates::Z > LinearZ
Definition: Linear.h:35
CGFunctions::Linear< CGCoordinates::XY > LinearXY
Definition: Linear.h:38
CGFunctions::Linear< CGCoordinates::O > LinearO
Definition: Linear.h:32
CGFunctions::Linear< CGCoordinates::Y > LinearY
Definition: Linear.h:34