IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
Vector3D.h File Reference

Simple 3D vector class. More...

#include <IMP/algebra/VectorD.h>
#include <IMP/Vector3D.h>
Include dependency graph for algebra/Vector3D.h:

Go to the source code of this file.

Namespaces

namespace  IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
namespace  IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.

Functions

Vector3D IMP::algebra::get_centroid (const Vector3Ds &ps)
 Return the centroid of a set of vectors.
Vector3D IMP::algebra::get_orthogonal_vector (const Vector3D &v)
 Return a vector that is perpendicular to the given vector.
double IMP::algebra::get_radius_of_gyration (const Vector3Ds &ps)
 Return the radius of gyration of a set of points.
Vector3D IMP::algebra::get_vector_product (const Vector3D &p1, const Vector3D &p2)
 Return the vector product (cross product) of two vectors.

Detailed Description

Simple 3D vector class.

Copyright 2007-2026 IMP Inventors. All rights reserved.

Definition in file algebra/Vector3D.h.