Scroll to navigation

sc::Triangle(3) MPQC sc::Triangle(3)

NAME

sc::Triangle

SYNOPSIS

Inherits sc::RefCount.

Public Types


enum { max_order = 10 }

Public Member Functions


Triangle (const Ref< Edge > &v1, const Ref< Edge > &v2, const Ref< Edge > &v3, unsigned int orient0=0)
Ref< Edge > edge (int i)
int contains (const Ref< Edge > &) const
unsigned int orientation (int i) const
unsigned int orientation (const Ref< Edge > &) const
void add_edges (std::set< Ref< Edge > > &)
void add_vertices (std::set< Ref< Vertex > > &)
void interpolate (const Ref< TriInterpCoef > &, double r, double s, const Ref< Vertex > &v, SCVector3 &dA)
void interpolate (double r, double s, const Ref< Vertex > &v, SCVector3 &dA)
void interpolate (double r, double s, const Ref< Vertex > &v, SCVector3 &dA, const Ref< Volume > &vol, double isovalue)
Ref< Vertex > vertex (int i)
double flat_area ()
void flip ()
unsigned int order () const
void set_order (int order, const Ref< Volume > &vol, double isovalue)

Protected Attributes


unsigned int _order
unsigned int _orientation0
unsigned int _orientation1
unsigned int _orientation2
Ref< Edge > _edges [3]
Ref< Vertex > * _vertices

Additional Inherited Members

Author

Generated automatically by Doxygen for MPQC from the source code.

Sun Oct 4 2020 Version 2.3.1