Public Member Functions | Public Attributes | List of all members
TRIANGLE Struct Reference

#include <math.h>

Public Member Functions

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

Public Attributes

Vector v1
 
Vector v2
 
Vector v3
 the vertices of the triangle More...
 

Detailed Description

Definition at line 650 of file math.h.

Constructor & Destructor Documentation

TRIANGLE::TRIANGLE ( )
inline

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

Vector TRIANGLE::ComputeNormal ( )
inline

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

Vector TRIANGLE::v1

Definition at line 656 of file math.h.

Vector TRIANGLE::v2

Definition at line 656 of file math.h.

Vector TRIANGLE::v3

the vertices of the triangle

Definition at line 656 of file math.h.


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


checkerboard_detector
Author(s): Rosen Diankov (rdiankov@cs.cmu.edu)
autogenerated on Mon May 3 2021 03:03:00