IMP
2.2.0
The Integrative Modeling Platform
|
#include <IMP/algebra/Segment3D.h>
Public Member Functions | |
Segment3D (const Vector3D &start, const Vector3D &end) | |
Vector3D | get_direction () const |
Get a normalized direction vector pointing from get_point(0) to get_point(1). | |
double | get_length () const |
Vector3D | get_middle_point () const |
const Vector3D & | get_point (unsigned int i) const |
Get the start=0/end=1 point of the segment. | |
void | show (std::ostream &out=std::cout) const |
It does what is says. See geometric primitives for more information.
Definition at line 23 of file Segment3D.h.