Public Member Functions | Public Attributes
TRIANGLE Struct Reference

#include <math.h>

List of all members.

Public Member Functions

Vector ComputeNormal ()
 assumes CCW ordering of vertices
const Vectoroperator[] (int i) const
Vectoroperator[] (int i)
 TRIANGLE (const Vector &v1, const Vector &v2, const Vector &v3)

Public Attributes

Vector v1
Vector v2
Vector v3
 the vertices of the triangle

Detailed Description

Definition at line 650 of file math.h.

Constructor & Destructor Documentation


Definition at line 652 of file math.h.

TRIANGLE::TRIANGLE ( const Vector v1,
const Vector v2,
const Vector v3 
) [inline]

Definition at line 653 of file math.h.

TRIANGLE::~TRIANGLE ( ) [inline]

Definition at line 654 of file math.h.

Member Function Documentation

assumes CCW ordering of vertices

Definition at line 662 of file math.h.

const Vector& TRIANGLE::operator[] ( int  i) const [inline]

Definition at line 658 of file math.h.

Vector& TRIANGLE::operator[] ( int  i) [inline]

Definition at line 659 of file math.h.

Member Data Documentation

Definition at line 656 of file math.h.

Definition at line 656 of file math.h.

the vertices of the triangle

Definition at line 656 of file math.h.

The documentation for this struct was generated from the following file:

Author(s): Rosen Diankov (
autogenerated on Wed Sep 16 2015 04:37:41