A a decorator for a particle with x,y,z coordinates.
More...
#include <IMP/core/XYZ.h>
|
static XYZ | decorate_particle (::IMP::kernel::Particle *p) |
|
static FloatKey | get_coordinate_key (unsigned int i) |
|
static const FloatKeys & | get_xyz_keys () |
| Get a vector containing the keys for x,y,z. More...
|
|
static bool | particle_is_instance (Particle *p) |
|
static bool | particle_is_instance (Model *m, ParticleIndex pi) |
|
static XYZ | setup_particle (Model *m, ParticleIndex pi, const algebra::Vector3D v=algebra::Vector3D(0, 0, 0)) |
|
static XYZ | setup_particle (Particle *p, const algebra::Vector3D v=algebra::Vector3D(0, 0, 0)) |
|
static bool | particle_is_instance (Particle *p) |
| Return true if the particle can be cast to the decorator. More...
|
|
|
(Note that these are not member functions.)
|
double | get_dihedral (XYZ a, XYZ b, XYZ c, XYZ d) |
| Compute the dihedral angle (in radians) between the four particles.
|
|
double | get_distance (XYZ a, XYZ b) |
| Compute the distance between a pair of particles.
|
|
Using the decorator one can get and set coordinates and modify derivatives.
- See Also
- XYZR
Definition at line 32 of file XYZ.h.
Somewhat suspect based on wanting a Point/Vector differentiation but we don't have points
Definition at line 123 of file XYZ.h.
bool IMP::core::XYZ::get_coordinates_are_optimized |
( |
| ) |
const |
- Returns
- true only if all of them are optimized.
Definition at line 103 of file XYZ.h.
Somewhat suspect based on wanting a Point/Vector differentiation but we don't have points
Definition at line 130 of file XYZ.h.
static const FloatKeys& IMP::core::XYZ::get_xyz_keys |
( |
| ) |
|
|
static |
This is quite handy for initializing movers and things.
The documentation for this class was generated from the following file: