A decorator for a particle with x,y,z coordinates and a radius.
More...
#include <IMP/core/XYZR.h>
A decorator for a particle with x,y,z coordinates and a radius.
A simple example illustrating some of the functionality.
import IMP
import sys
1.0))
d1.set_radius(2.0)
Class for storing model, its restraints, constraints, and particles.
Class to handle individual particles of a Model object.
static XYZR setup_particle(Model *m, ParticleIndex pi)
A decorator for a particle with x,y,z coordinates.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Basic functionality that is expected to be used by a wide variety of IMP users.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.
Definition at line 27 of file XYZR.h.
|
| static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
| static bool | get_is_setup (Model *m, ParticleIndex pi) |
| | Check if the particle has the required attributes.
|
| static FloatKey | get_radius_key () |
| | Get the key for the radius.
|
| static XYZR | setup_particle (IMP::ParticleAdaptor pa) |
| static XYZR | setup_particle (IMP::ParticleAdaptor pa, algebra::Sphere3D ball) |
| static XYZR | setup_particle (IMP::ParticleAdaptor pa, Float radius) |
| static XYZR | setup_particle (Model *m, ParticleIndex pi) |
| static XYZR | setup_particle (Model *m, ParticleIndex pi, algebra::Sphere3D ball) |
| static XYZR | setup_particle (Model *m, ParticleIndex pi, Float radius) |
| static FloatKey | get_coordinate_key (unsigned int i) |
| static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
| static bool | get_is_setup (Model *m, ParticleIndex pi) |
| static const FloatKeys & | get_xyz_keys () |
| | Get a vector containing the keys for x,y,z.
|
| static XYZ | setup_particle (IMP::ParticleAdaptor pa) |
| static XYZ | setup_particle (IMP::ParticleAdaptor pa, algebra::Vector3D v) |
| static XYZ | setup_particle (Model *m, ParticleIndex pi) |
| static XYZ | setup_particle (Model *m, ParticleIndex pi, algebra::Vector3D v) |
◆ XYZR() [1/3]
| IMP::core::XYZR::XYZR |
( |
| ) |
|
◆ XYZR() [2/3]
◆ XYZR() [3/3]
◆ add_to_radius_derivative()
add v to the derivative of the radius attribute
Definition at line 79 of file XYZR.h.
◆ get_is_setup() [1/2]
◆ get_is_setup() [2/2]
Check if the particle has the required attributes.
Add the coordinates and radius from the sphere to the particle.
Definition at line 57 of file XYZR.h.
◆ get_radius()
| double IMP::core::XYZR::get_radius |
( |
| ) |
const |
◆ get_radius_key()
| FloatKey IMP::core::XYZR::get_radius_key |
( |
| ) |
|
|
static |
Get the key for the radius.
Definition at line 76 of file XYZR.h.
◆ get_sphere()
Return a sphere object.
Definition at line 67 of file XYZR.h.
◆ set_radius()
| void IMP::core::XYZR::set_radius |
( |
double | r | ) |
const |
◆ set_sphere()
Set the attributes from a sphere.
Definition at line 72 of file XYZR.h.
◆ setup_particle() [1/6]
- Returns
- a XYZR object that decorates the particle specified by pa
- See also
- setup_particle(m, p)
Definition at line 48 of file XYZR.h.
◆ setup_particle() [2/6]
- Returns
- a XYZR object that decorates the particle specified by pa
- See also
- setup_particle(m, pi, ball)
Definition at line 51 of file XYZR.h.
◆ setup_particle() [3/6]
- Returns
- a XYZR object that decorates the particle specified by pa
- See also
- setup_particle(m, pi, radius)
Definition at line 50 of file XYZR.h.
◆ setup_particle() [4/6]
- Returns
- a XYZR object that decorates particle pi
Definition at line 48 of file XYZR.h.
◆ setup_particle() [5/6]
- Returns
- a XYZR object that decorates particle pi
Definition at line 51 of file XYZR.h.
◆ setup_particle() [6/6]
Setup an XYZ particle as an XYZR particle.
- Returns
- a XYZR object that decorates particle pi
Definition at line 50 of file XYZR.h.
The documentation for this class was generated from the following file: