55 #ifndef KJB_RIGHT_TRIANGLE_PAIR_H
56 #define KJB_RIGHT_TRIANGLE_PAIR_H
88 return index_triangle1;
94 return index_triangle2;
100 return m_hypotenuse1;
106 return m_hypotenuse2;
116 return parallel_edges1;
126 return parallel_edges2;
~Right_Triangle_Pair()
Deletes this Right_Triangle_Pair.
Definition: gr_right_triangle_pair.cpp:109
int get_hypotenuse2() const
Returns the index of the hypotenuse of triangle2.
Definition: gr_right_triangle_pair.h:104
int get_triangle2() const
Returns the index of the other right triangles.
Definition: gr_right_triangle_pair.h:92
Right_Triangle_Pair(const Polymesh &p)
Constructs a right_triangle_pair from a polymesh.
Definition: gr_right_triangle_pair.cpp:63
int get_hypotenuse1() const
Returns the index of the hypotenuse of triangle1.
Definition: gr_right_triangle_pair.h:98
Definition: gr_right_triangle_pair.h:62
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
const Vector & get_parallel_edges1() const
Returns the Vector containing the indices of the parallel edges in the rectangle formed by the two ri...
Definition: gr_right_triangle_pair.h:114
Abstract class of connected polygons (faces) forming a mesh.
Right_Triangle_Pair & operator=(const Right_Triangle_Pair &rtp)
Copies a Right_Triangle_Pair into this one.
Definition: gr_right_triangle_pair.cpp:120
Abstract class of connected polygons (faces) forming a mesh. We assume that each edge is shared betwe...
Definition: gr_polymesh.h:89
const Vector & get_parallel_edges2() const
Returns the Vector containing the indices of the parallel edges in the rectangle formed by the two ri...
Definition: gr_right_triangle_pair.h:124
int get_triangle1() const
Returns the index of one of the right triangles.
Definition: gr_right_triangle_pair.h:86
const Polymesh * get_polymesh() const
Returns the polymesh.
Definition: gr_right_triangle_pair.h:80