#include <triangle.h>
Inheritance diagram for Triangle:
Public Member Functions | |
Triangle (const Particle::vector_t &p1, const Particle::vector_t &p2, const Particle::vector_t &p3) | |
virtual bool | operator() (const Particle::vector_t &p) const |
const Particle::vector_t & | get_corner1 () const |
const Particle::vector_t & | get_corner2 () const |
const Particle::vector_t & | get_corner3 () const |
virtual void | to_xml (std::ostream &o) |
|
Constructs a triangle with corners p1, p2 and p3. |
|
Returns the first corner. |
|
Returns the second corner. |
|
Returns the third corner. |
|
Returns false. Implements Geometry. |
|
Writes the triangle as XML into o. Implements Geometry. Reimplemented in Smooth_Triangle. |