8 #ifndef IMPCORE_RIGID_BODY_GEOMETRIES_H
9 #define IMPCORE_RIGID_BODY_GEOMETRIES_H
11 #include <IMP/core/core_config.h>
13 #include "internal/rigid_body_tree.h"
16 IMPCORE_BEGIN_NAMESPACE
22 unsigned int node_, layer_;
36 d.get_reference_frame().get_transformation_to();
43 if (dv.get_squared_magnitude() > 0.00001) {
52 d.get_particle()->get_model()->get_range(core::XYZ::get_xyz_keys()[0]);
53 Float wid = xr.second - xr.first;
57 stderiv + otr.get_translation());
58 for (
unsigned int i = 0; i < ms.size(); ++i) {
66 r.get_rotated(dm.get_internal_coordinates()) + d.get_coordinates();
72 ntr.get_transformed(dm.get_internal_coordinates())),
A base class for geometry contained in particles.
A decorator for a particle that is part of a rigid body.
std::pair< Float, Float > FloatRange
A pair representing the allowed range for a Float attribute.
#define IMP_LOG_TERSE(expr)
Display a reference frame.
functionality for defining rigid bodies
Represent an XYZR particle with a sphere.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Class to handle individual model particles.
virtual Geometries get_components() const
Return a set of geometry composing this one.
double Float
Basic floating-point value (could be float, double...)
VectorD get_unit_vector() const
A decorator for a rigid body.