IMP  2.2.0
The Integrative Modeling Platform
IMP::algebra::Segment3D Class Reference

#include <IMP/algebra/Segment3D.h>

+ Inheritance diagram for IMP::algebra::Segment3D:

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 Vector3Dget_point (unsigned int i) const
 Get the start=0/end=1 point of the segment.
 
void show (std::ostream &out=std::cout) const
 

Detailed Description

It does what is says. See geometric primitives for more information.

Definition at line 23 of file Segment3D.h.


The documentation for this class was generated from the following file: