#include <smooth_triangle.h>
Inheritance diagram for Smooth_Triangle:
Public Member Functions | |
Smooth_Triangle (const Particle::vector_t &p1, const Particle::vector_t &p2, const Particle::vector_t &p3, const Particle::vector_t &n1, const Particle::vector_t &n2, const Particle::vector_t &n3) | |
const Particle::vector_t & | get_normal1 () const |
const Particle::vector_t & | get_normal2 () const |
const Particle::vector_t & | get_normal3 () const |
virtual void | to_xml (std::ostream &o) |
|
Constructs a triangle with corners p1, p2, p3 and normals n1, n2, n3. |
|
Returns the normal on the first corner. |
|
Returns the normal on the second corner. |
|
Returns the normal on the third corner. |
|
Writes the triangle as XML into o. Reimplemented from Triangle. |