File: positioned_tet.h

package info (click to toggle)
regina-normal 4.93-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 28,576 kB
  • sloc: cpp: 86,815; ansic: 13,030; xml: 9,089; perl: 951; sh: 380; python: 273; makefile: 103
file content (34 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 *	positioned_tet.h
 *
 *	The PositionedTet data structure records the position in which a
 *	Tetrahedron is currently being considered.  The file positioned_tet.c
 *	contains routines for working with PositionedTets.
 *
 *	Imagine a tetrahedron sitting on a table with one of its faces
 *	facing toward you.  The face on the table is bottom_face and the one
 *	facing toward you is near_face.  The faces facing away from you
 *	are left_face and right_face.
 *
 *	The orientation field specifies whether the numbering on the
 *	tetrhedron is right_handed or left_handed when viewed in this position.
 */

#ifndef _positioned_tet_
#define _positioned_tet_

#include "SnapPea.h"
#include "kernel_typedefs.h"
#include "triangulation.h"

typedef struct
{
	Tetrahedron	*tet;
	FaceIndex	near_face,
				left_face,
				right_face,
				bottom_face;
	Orientation	orientation;
} PositionedTet;

#endif