IMP logo
Public Member Functions | Related Functions
IMP::algebra::Triangle3D Class Reference

Detailed Description

Note:
This class is a geometric primitive. Also, this class is not not initialized by its default constructor.

List of all members.

Public Member Functions

 Triangle3D (const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
 The passed points must not be colinear.
Floats get_edge_lengths () 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

Related Functions

(Note that these are not member functions.)

Triangle3D get_largest_triangle (const Vector3Ds &points)
 Return the largest triangle defined by 3 points from the input.

Constructor & Destructor Documentation

IMP::algebra::Triangle3D::Triangle3D ( const Vector3D p1,
const Vector3D p2,
const Vector3D p3 
)

The passed points must not be colinear.


Member Function Documentation

const Vector3D& IMP::algebra::Triangle3D::get_point ( unsigned int  i) const

Get the start=0/end=1 point of the segment.


Friends And Related Function Documentation

Triangle3D get_largest_triangle ( const Vector3Ds points)
related

Return the largest triangle defined by 3 points from the input.


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

Generated on Tue May 22 2012 23:33:25 for IMP by doxygen 1.8.1