#include <gr_right_triangle_pair.h>
Right_Triangle_Pair::Right_Triangle_Pair |
( |
const Polymesh & |
p | ) |
|
Constructs a right_triangle_pair from a polymesh.
- Parameters
-
Right_Triangle_Pair::Right_Triangle_Pair |
( |
const Polymesh & |
p, |
|
|
int |
triangle1, |
|
|
int |
triangle2, |
|
|
int |
hypotenuse1, |
|
|
int |
hypotenuse2, |
|
|
Vector |
edges1, |
|
|
Vector |
edges2 |
|
) |
| |
Right_Triangle_Pair::~Right_Triangle_Pair |
( |
| ) |
|
int kjb::Right_Triangle_Pair::get_hypotenuse1 |
( |
| ) |
const |
|
inline |
Returns the index of the hypotenuse of triangle1.
int kjb::Right_Triangle_Pair::get_hypotenuse2 |
( |
| ) |
const |
|
inline |
Returns the index of the hypotenuse of triangle2.
const Vector& kjb::Right_Triangle_Pair::get_parallel_edges1 |
( |
| ) |
const |
|
inline |
Returns the Vector containing the indices of the parallel edges in the rectangle formed by the two right triangles. One edge is from triangle1 and the other edge is from triangle2.
const Vector& kjb::Right_Triangle_Pair::get_parallel_edges2 |
( |
| ) |
const |
|
inline |
Returns the Vector containing the indices of the parallel edges in the rectangle formed by the two right triangles. One edge is from triangle1 and the other edge is from triangle2.
const Polymesh* kjb::Right_Triangle_Pair::get_polymesh |
( |
| ) |
const |
|
inline |
int kjb::Right_Triangle_Pair::get_triangle1 |
( |
| ) |
const |
|
inline |
Returns the index of one of the right triangles.
int kjb::Right_Triangle_Pair::get_triangle2 |
( |
| ) |
const |
|
inline |
Returns the index of the other right triangles.
The documentation for this class was generated from the following files: