My Project
Public Member Functions | Public Attributes | List of all members
Vertice Struct Reference

#include <basicComponents.h>

Public Member Functions

Vertice deepCopy ()
 
bool operator< (Vertice other) const
 Less than operator defined for faster comparisons between different vertices. More...
 
bool operator== (Vertice b)
 Equality operator defined for faster comparisons between different vertices. More...
 
Vertice operator- (const Vertice &rhs)
 Difference operator defined for faster comparisons between different vertices. More...
 

Public Attributes

float first
 
float second
 
float third =0
 
bool is3d =true
 
char label
 

Member Function Documentation

◆ deepCopy()

Vertice Vertice::deepCopy ( )
inline
Returns
Vertice that is the generated copy

This method generates a copy of the Vertice object from which it is called to create a new Vertice object with the same values but free from any reference to original.

◆ operator-()

Vertice Vertice::operator- ( const Vertice rhs)
inline

Difference operator defined for faster comparisons between different vertices.

◆ operator<()

bool Vertice::operator< ( Vertice  other) const
inline

Less than operator defined for faster comparisons between different vertices.

◆ operator==()

bool Vertice::operator== ( Vertice  b)
inline

Equality operator defined for faster comparisons between different vertices.

Member Data Documentation

◆ first

float Vertice::first

◆ is3d

bool Vertice::is3d =true

◆ label

char Vertice::label

◆ second

float Vertice::second

◆ third

float Vertice::third =0

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