IMP  2.2.0
The Integrative Modeling Platform
shortest_segment.h File Reference

predicates implemented using CGAL Copyright 2007-2014 IMP Inventors. All rights reserved. More...

#include <IMP/algebra/algebra_config.h>
#include "Segment3D.h"
#include <IMP/base/types.h>
+ Include dependency graph for shortest_segment.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 IMP
 All IMP::kernel code is brought into the IMP namespace.
 
 IMP::algebra
 See IMP.algebra for more information.
 

Shortest segments

These methods return the shortest segment connecting two geometric objects. Such segments can be used to give the direction of the derivative of the distance between the two objects. The 0 point on the segment is in the first passed object and the 1 point is in the second.

Segment3D IMP::algebra::get_shortest_segment (const Segment3D &s, const Vector3D &p)
 
Segment3D IMP::algebra::get_shortest_segment (const Segment3D &sa, const Segment3D &sb)