IMP logo

Vector3D.h File Reference

Simple 3D vector class. More...

Include dependency graph for Vector3D.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  IMP
 The IMP kernel provides base classes and key shared functionality.
namespace  IMP::algebra
 This module contains general purpose algebraic and geometric methods.

Functions

const VectorD< 3 > & IMP::algebra::get_geometry (const VectorD< 3 > &v)
3D Vectors
We provide a specialization of VectorD for 3-space and several additional functions on it.

VectorD< 3 > IMP::algebra::get_centroid (const std::vector< VectorD< 3 > > &ps)
 Returns the centroid of a set of vectors.
VectorD< 3 > IMP::algebra::get_orthogonal_vector (const VectorD< 3 > &v)
 Return a vector that is perpendicular to the given vector.
VectorD< 3 > IMP::algebra::get_vector_product (const VectorD< 3 > &p1, const VectorD< 3 > &p2)
 Returns the vector product (cross product) of two vectors.

Detailed Description

Simple 3D vector class.

Copyright 2007-2010 IMP Inventors. All rights reserved.


Generated on Mon Mar 8 23:08:18 2010 for IMP by doxygen 1.5.8