Data structure representing a single sphere of the Gaussian shape, characterized by a position, radius, hardness and color.
More...
#include <GaussianShape.hpp>
Data structure representing a single sphere of the Gaussian shape, characterized by a position, radius, hardness and color.
◆ Element()
| CDPL::Shape::GaussianShape::Element::Element |
( |
const Math::Vector3D & |
pos, |
|
|
double |
radius, |
|
|
std::size_t |
color = 0, |
|
|
double |
hardness = 2.7 |
|
) |
| |
|
inline |
Constructs an Element with the given attributes.
- Parameters
-
| pos | The position of the sphere center. |
| radius | The sphere radius. |
| color | The color (numeric identifier) used to attribute the sphere (e.g. for pharmacophore-aware overlays). |
| hardness | The hardness of the Gaussian (default: 2.7). |
◆ getPosition()
| const Math::Vector3D& CDPL::Shape::GaussianShape::Element::getPosition |
( |
| ) |
const |
|
inline |
Returns the position of the sphere center.
- Returns
- The sphere center position.
◆ setPosition()
| void CDPL::Shape::GaussianShape::Element::setPosition |
( |
const Math::Vector3D & |
pos | ) |
|
|
inline |
Sets the position of the sphere center.
- Parameters
-
| pos | The sphere center position. |
◆ getRadius()
| double CDPL::Shape::GaussianShape::Element::getRadius |
( |
| ) |
const |
|
inline |
Returns the sphere radius.
- Returns
- The sphere radius.
◆ setRadius()
| void CDPL::Shape::GaussianShape::Element::setRadius |
( |
double |
radius | ) |
|
|
inline |
Sets the sphere radius.
- Parameters
-
◆ getColor()
| std::size_t CDPL::Shape::GaussianShape::Element::getColor |
( |
| ) |
const |
|
inline |
Returns the color attribute of the sphere.
- Returns
- The color attribute.
◆ setColor()
| void CDPL::Shape::GaussianShape::Element::setColor |
( |
std::size_t |
color | ) |
|
|
inline |
Sets the color attribute of the sphere.
- Parameters
-
| color | The color attribute. |
◆ getHardness()
| double CDPL::Shape::GaussianShape::Element::getHardness |
( |
| ) |
const |
|
inline |
Returns the hardness of the Gaussian.
- Returns
- The Gaussian hardness.
◆ setHardness()
| void CDPL::Shape::GaussianShape::Element::setHardness |
( |
double |
hardness | ) |
|
|
inline |
Sets the hardness of the Gaussian.
- Parameters
-
| hardness | The Gaussian hardness. |
The documentation for this class was generated from the following file: