Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
Mezzanine::Graphics::Procedural::TouchSuperTriangle Struct Reference

A triangle convenience class for some comparison operations. More...

#include <triangulator.h>

Public Member Functions

 TouchSuperTriangle (const Integer First, const Integer Second, const Integer Third)
 Class constructor. More...
 
 ~TouchSuperTriangle ()
 Class destructor.
 
Boole operator() (const DelaunayTriangle &Tri)
 Functor operator. More...
 

Public Attributes

Integer Index0
 The first index of the segment. More...
 
Integer Index1
 The second index of the segment. More...
 
Integer Index2
 The third index of the segment. More...
 

Detailed Description

A triangle convenience class for some comparison operations.

Definition at line 213 of file triangulator.h.

Constructor & Destructor Documentation

Mezzanine::Graphics::Procedural::TouchSuperTriangle::TouchSuperTriangle ( const Integer  First,
const Integer  Second,
const Integer  Third 
)

Class constructor.

Parameters
FirstThe first index of the triangle.
SecondThe second index of the triangle.
ThirdThe third index of the triangle.

Definition at line 239 of file triangulator.cpp.

Member Function Documentation

Boole Mezzanine::Graphics::Procedural::TouchSuperTriangle::operator() ( const DelaunayTriangle Tri)

Functor operator.

Parameters
TriThe triangle to check.
Returns
Returns true if this TouchSuperTriangle has any points in common with the specified DelaunayTriangle, false otherwise.

Definition at line 251 of file triangulator.cpp.

Member Data Documentation

Integer Mezzanine::Graphics::Procedural::TouchSuperTriangle::Index0

The first index of the segment.

Note
These indexes refer to Vector2's in a Point2DContainer.

Definition at line 220 of file triangulator.h.

Integer Mezzanine::Graphics::Procedural::TouchSuperTriangle::Index1

The second index of the segment.

Note
These indexes refer to Vector2's in a Point2DContainer.

Definition at line 223 of file triangulator.h.

Integer Mezzanine::Graphics::Procedural::TouchSuperTriangle::Index2

The third index of the segment.

Note
These indexes refer to Vector2's in a Point2DContainer.

Definition at line 226 of file triangulator.h.


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