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

A segment of 2 points in a Point2DContainer. More...

#include <triangulator.h>

Public Member Functions

 DelaunaySegment (const Integer First, const Integer Second)
 Class constructor. More...
 
 ~DelaunaySegment ()
 Class destructor.
 
DelaunaySegment Inverse () const
 Gets the inverse of this segment. More...
 
Boole operator< (const DelaunaySegment &Other) const
 Less-than compare operator. More...
 

Public Attributes

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

Detailed Description

A segment of 2 points in a Point2DContainer.

Definition at line 90 of file triangulator.h.

Constructor & Destructor Documentation

Mezzanine::Graphics::Procedural::DelaunaySegment::DelaunaySegment ( const Integer  First,
const Integer  Second 
)

Class constructor.

Parameters
FirstThe first index of the segment.
SecondThe second index of the segment.

Definition at line 92 of file triangulator.cpp.

Member Function Documentation

DelaunaySegment Mezzanine::Graphics::Procedural::DelaunaySegment::Inverse ( ) const

Gets the inverse of this segment.

Returns
Returns a copy of this DelaunaySegment with it's indexes reversed.

Definition at line 103 of file triangulator.cpp.

Boole Mezzanine::Graphics::Procedural::DelaunaySegment::operator< ( const DelaunaySegment Other) const

Less-than compare operator.

Parameters
OtherThe other DelaunaySegment to compare with.
Returns
Returns true if this DelaunaySegment is less than the other DelaunaySegment, false otherwise.

Definition at line 106 of file triangulator.cpp.

Member Data Documentation

Integer Mezzanine::Graphics::Procedural::DelaunaySegment::Index1

The first index of the segment.

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

Definition at line 97 of file triangulator.h.

Integer Mezzanine::Graphics::Procedural::DelaunaySegment::Index2

The second index of the segment.

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

Definition at line 100 of file triangulator.h.


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