IMP Reference Guide
2.6.0
The Integrative Modeling Platform
|
Represent a triangle in 3D. More...
#include <IMP/algebra/Triangle3D.h>
Represent a triangle in 3D.
See geometric primitives for more information.
Definition at line 23 of file Triangle3D.h.
Public Member Functions | |
Triangle3D (const Vector3D &p1, const Vector3D &p2, const Vector3D &p3) | |
The passed points must not be colinear. More... | |
Floats | get_edge_lengths () const |
const Vector3D & | get_point (unsigned int i) const |
Get the start=0/end=1 point of the segment. More... | |
void | show (std::ostream &out=std::cout) const |
IMP::algebra::Triangle3D::Triangle3D | ( | const Vector3D & | p1, |
const Vector3D & | p2, | ||
const Vector3D & | p3 | ||
) |
The passed points must not be colinear.
const Vector3D& IMP::algebra::Triangle3D::get_point | ( | unsigned int | i | ) | const |
Get the start=0/end=1 point of the segment.
Definition at line 29 of file Triangle3D.h.