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...
 
Vectoroperator[] (int i)
 
const Vectoroperator[] (int i) const
 
 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() [1/2]

TRIANGLE::TRIANGLE ( )
inline

Definition at line 652 of file math.h.

◆ TRIANGLE() [2/2]

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

Definition at line 653 of file math.h.

◆ ~TRIANGLE()

TRIANGLE::~TRIANGLE ( )
inline

Definition at line 654 of file math.h.

Member Function Documentation

◆ ComputeNormal()

Vector TRIANGLE::ComputeNormal ( )
inline

assumes CCW ordering of vertices

Definition at line 662 of file math.h.

◆ operator[]() [1/2]

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

Definition at line 659 of file math.h.

◆ operator[]() [2/2]

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

Definition at line 658 of file math.h.

Member Data Documentation

◆ v1

Vector TRIANGLE::v1

Definition at line 656 of file math.h.

◆ v2

Vector TRIANGLE::v2

Definition at line 656 of file math.h.

◆ v3

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 Tue Jan 7 2025 04:04:48