|
My Project
|
An oriented triangle. More...
Public Member Functions | |
| override string | ToString () |
| void | Sym (ref Otri ot) |
| Find the abutting triangle; same edge. [sym(abc) -> ba*]. | |
| void | Sym () |
| Find the abutting triangle; same edge. [sym(abc) -> ba*]. | |
| void | Lnext (ref Otri ot) |
| Find the next edge (counterclockwise) of a triangle. [lnext(abc) -> bca]. | |
| void | Lnext () |
| Find the next edge (counterclockwise) of a triangle. [lnext(abc) -> bca]. | |
| void | Lprev (ref Otri ot) |
| Find the previous edge (clockwise) of a triangle. [lprev(abc) -> cab]. | |
| void | Lprev () |
| Find the previous edge (clockwise) of a triangle. [lprev(abc) -> cab]. | |
| void | Onext (ref Otri ot) |
| Find the next edge counterclockwise with the same origin. [onext(abc) -> ac*]. | |
| void | Onext () |
| Find the next edge counterclockwise with the same origin. [onext(abc) -> ac*]. | |
| void | Oprev (ref Otri ot) |
| Find the next edge clockwise with the same origin. [oprev(abc) -> a*b]. | |
| void | Oprev () |
| Find the next edge clockwise with the same origin. [oprev(abc) -> a*b]. | |
| void | Dnext (ref Otri ot) |
| Find the next edge counterclockwise with the same destination. [dnext(abc) -> *ba]. | |
| void | Dnext () |
| Find the next edge counterclockwise with the same destination. [dnext(abc) -> *ba]. | |
| void | Dprev (ref Otri ot) |
| Find the next edge clockwise with the same destination. [dprev(abc) -> cb*]. | |
| void | Dprev () |
| Find the next edge clockwise with the same destination. [dprev(abc) -> cb*]. | |
| void | Rnext (ref Otri ot) |
| Find the next edge (counterclockwise) of the adjacent triangle. [rnext(abc) -> a]. | |
| void | Rnext () |
| Find the next edge (counterclockwise) of the adjacent triangle. [rnext(abc) -> a]. | |
| void | Rprev (ref Otri ot) |
| Find the previous edge (clockwise) of the adjacent triangle. [rprev(abc) -> b**]. | |
| void | Rprev () |
| Find the previous edge (clockwise) of the adjacent triangle. [rprev(abc) -> b**]. | |
| Vertex | Org () |
| Origin [org(abc) -> a]. | |
| Vertex | Dest () |
| Destination [dest(abc) -> b]. | |
| Vertex | Apex () |
| Apex [apex(abc) -> c]. | |
| void | Copy (ref Otri ot) |
| Copy an oriented triangle. | |
| bool | Equals (Otri ot) |
| Test for equality of oriented triangles. | |
Static Public Attributes | |
| static readonly int[] | plus1Mod3 = { 1, 2, 0 } |
| static readonly int[] | minus1Mod3 = { 2, 0, 1 } |
Properties | |
| Triangle | Triangle [get, set] |
An oriented triangle.
Includes a pointer to a triangle and orientation. The orientation denotes an edge of the triangle. Hence, there are three possible orientations. By convention, each edge always points counterclockwise about the corresponding triangle.
|
inline |
Find the abutting triangle; same edge. [sym(abc) -> ba*].
Note that the edge direction is necessarily reversed, because the handle specified by an oriented triangle is directed counterclockwise around the triangle.